home *** CD-ROM | disk | FTP | other *** search
MacBinary | 1995-01-03 | 44.8 KB | [ONLN/HLX2] |
open in:
MacOS 8.1
|
Win98
|
DOS
browse contents |
view JSON data
|
view as text
This file was processed as: MacBinary
(archive/macBinary).
Confidence | Program | Detection | Match Type | Support
|
---|
10%
| dexvert
| MacBinary (archive/macBinary)
| fallback
| Supported |
100%
| file
| MacBinary II, inited, Wed Dec 28 18:32:30 1994, modified Tue Jan 3 09:19:37 1995, creator 'HLX2', type 'ONLN', 43741 bytes "PAP Client Interface" , at 0xab5d 1884 bytes resource
| default (weak)
| |
99%
| file
| data
| default
| |
66%
| TrID
| raw Group 3 FAX bitmap
| default (weak)
| |
33%
| TrID
| MacBinary 2
| default (weak)
| |
100%
| siegfried
| fmt/1762 MacBinary (II)
| default
| |
100%
| lsar
| MacBinary
| default
|
|
id metadata |
---|
key | value |
---|
macFileType | [ONLN] |
macFileCreator | [HLX2] |
hex view+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 14 50 41 50 20 43 6c | 69 65 6e 74 20 49 6e 74 |..PAP Cl|ient Int|
|00000010| 65 72 66 61 63 65 00 00 | 00 00 00 00 00 00 00 00 |erface..|........|
|00000020| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000030| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000040| 00 4f 4e 4c 4e 48 4c 58 | 32 01 00 00 00 00 00 00 |.ONLNHLX|2.......|
|00000050| 00 00 00 00 00 aa dd 00 | 00 07 5c ab 27 a6 0e ab |........|..\.'...|
|00000060| 2f 0d 79 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |/.y.....|........|
|00000070| 00 00 00 00 00 00 00 00 | 00 00 81 81 a7 d6 00 00 |........|........|
|00000080| 54 68 65 20 4d 61 63 69 | 6e 74 6f 73 68 20 50 41 |The Maci|ntosh PA|
|00000090| 50 20 43 6c 69 65 6e 74 | 20 49 6e 74 65 72 66 61 |P Client| Interfa|
|000000a0| 63 65 0d 54 68 69 73 20 | 64 6f 63 75 6d 65 6e 74 |ce.This |document|
|000000b0| 20 64 69 73 63 75 73 73 | 65 73 20 74 68 65 20 4d | discuss|es the M|
|000000c0| 61 63 69 6e 74 6f 73 68 | 20 50 41 50 20 43 6c 69 |acintosh| PAP Cli|
|000000d0| 65 6e 74 20 69 6d 70 6c | 65 6d 65 6e 74 61 74 69 |ent impl|ementati|
|000000e0| 6f 6e 20 69 6e 20 74 68 | 65 20 4d 50 57 20 6f 62 |on in th|e MPW ob|
|000000f0| 6a 65 63 74 20 66 69 6c | 65 20 d2 50 41 50 2e 57 |ject fil|e .PAP.W|
|00000100| 72 6b 53 74 61 74 69 6f | 6e 2e 6f d3 2e 0d 4f 6e |rkStatio|n.o...On|
|00000110| 20 74 68 65 20 4d 61 63 | 69 6e 74 6f 73 68 2c 20 | the Mac|intosh, |
|00000120| 63 6f 6d 6d 75 6e 69 63 | 61 74 69 6f 6e 20 77 69 |communic|ation wi|
|00000130| 74 68 20 6e 65 74 77 6f | 72 6b 65 64 20 70 72 69 |th netwo|rked pri|
|00000140| 6e 74 65 72 73 20 61 6e | 64 20 70 72 69 6e 74 20 |nters an|d print |
|00000150| 73 65 72 76 65 72 73 20 | 69 73 20 67 65 6e 65 72 |servers |is gener|
|00000160| 61 6c 6c 79 20 64 6f 6e | 65 20 74 68 72 6f 75 67 |ally don|e throug|
|00000170| 68 20 74 68 65 20 4d 61 | 63 69 6e 74 6f 73 68 20 |h the Ma|cintosh |
|00000180| 50 72 69 6e 74 20 4d 61 | 6e 61 67 65 72 20 61 6e |Print Ma|nager an|
|00000190| 64 20 69 74 73 20 6e 65 | 74 77 6f 72 6b 20 70 72 |d its ne|twork pr|
|000001a0| 69 6e 74 65 72 20 64 72 | 69 76 65 72 73 20 28 66 |inter dr|ivers (f|
|000001b0| 6f 72 20 65 78 61 6d 70 | 6c 65 2c 20 74 68 65 20 |or examp|le, the |
|000001c0| 4c 61 73 65 72 57 72 69 | 74 65 72 20 6f 72 20 41 |LaserWri|ter or A|
|000001d0| 70 70 6c 65 54 61 6c 6b | 20 49 6d 61 67 65 57 72 |ppleTalk| ImageWr|
|000001e0| 69 74 65 72 20 70 72 69 | 6e 74 65 72 20 64 72 69 |iter pri|nter dri|
|000001f0| 76 65 72 73 29 2e 20 54 | 68 72 6f 75 67 68 20 74 |vers). T|hrough t|
|00000200| 68 65 73 65 20 64 72 69 | 76 65 72 73 2c 20 69 74 |hese dri|vers, it|
|00000210| 20 69 73 20 70 6f 73 73 | 69 62 6c 65 20 74 6f 20 | is poss|ible to |
|00000220| 70 72 69 6e 74 20 74 65 | 78 74 20 61 6e 64 20 67 |print te|xt and g|
|00000230| 72 61 70 68 69 63 73 2e | 20 49 74 20 69 73 20 61 |raphics.| It is a|
|00000240| 6c 73 6f 20 70 6f 73 73 | 69 62 6c 65 20 74 6f 20 |lso poss|ible to |
|00000250| 64 69 72 65 63 74 6c 79 | 20 73 65 6e 64 20 50 6f |directly| send Po|
|00000260| 73 74 53 63 72 69 70 74 | 20 63 6f 6d 6d 61 6e 64 |stScript| command|
|00000270| 73 20 61 6e 64 20 64 61 | 74 61 20 74 6f 20 74 68 |s and da|ta to th|
|00000280| 65 20 4c 61 73 65 72 57 | 72 69 74 65 72 20 75 73 |e LaserW|riter us|
|00000290| 69 6e 67 20 50 69 63 43 | 6f 6d 6d 65 6e 74 73 2e |ing PicC|omments.|
|000002a0| 20 53 6f 20 67 65 6e 65 | 72 61 6c 6c 79 2c 20 69 | So gene|rally, i|
|000002b0| 74 20 73 68 6f 75 6c 64 | 20 6e 6f 74 20 62 65 20 |t should| not be |
|000002c0| 6e 65 63 65 73 73 61 72 | 79 20 66 6f 72 20 4d 61 |necessar|y for Ma|
|000002d0| 63 69 6e 74 6f 73 68 20 | 64 65 76 65 6c 6f 70 65 |cintosh |develope|
|000002e0| 72 73 20 74 6f 20 75 73 | 65 20 74 68 65 20 41 70 |rs to us|e the Ap|
|000002f0| 70 6c 65 54 61 6c 6b 20 | 50 72 69 6e 74 65 72 20 |pleTalk |Printer |
|00000300| 41 63 63 65 73 73 20 50 | 72 6f 74 6f 63 6f 6c 20 |Access P|rotocol |
|00000310| 28 50 41 50 29 20 64 69 | 72 65 63 74 6c 79 20 74 |(PAP) di|rectly t|
|00000320| 6f 20 73 65 6e 64 20 64 | 61 74 61 20 74 6f 20 6e |o send d|ata to n|
|00000330| 65 74 77 6f 72 6b 65 64 | 20 70 72 69 6e 74 65 72 |etworked| printer|
|00000340| 73 20 61 6e 64 20 70 72 | 69 6e 74 20 73 65 72 76 |s and pr|int serv|
|00000350| 65 72 73 2e 20 48 6f 77 | 65 76 65 72 2c 20 74 6f |ers. How|ever, to|
|00000360| 20 63 61 72 72 79 20 6f | 6e 20 61 20 74 77 6f 2d | carry o|n a two-|
|00000370| 77 61 79 20 63 6f 6e 76 | 65 72 73 61 74 69 6f 6e |way conv|ersation|
|00000380| 20 77 69 74 68 20 61 6e | 79 20 6e 65 74 77 6f 72 | with an|y networ|
|00000390| 6b 20 70 72 69 6e 74 65 | 72 20 6f 72 20 70 72 69 |k printe|r or pri|
|000003a0| 6e 74 20 73 65 72 76 65 | 72 2c 20 50 41 50 20 6d |nt serve|r, PAP m|
|000003b0| 75 73 74 20 62 65 20 75 | 73 65 64 2e 0d 4e 6f 74 |ust be u|sed..Not|
|000003c0| 65 3a 09 54 77 6f 2d 77 | 61 79 20 63 6f 6d 6d 75 |e:.Two-w|ay commu|
|000003d0| 6e 69 63 61 74 69 6f 6e | 20 77 69 74 68 20 41 70 |nication| with Ap|
|000003e0| 70 6c 65 d5 73 20 4c 61 | 73 65 72 57 72 69 74 65 |ple.s La|serWrite|
|000003f0| 72 20 70 72 69 6e 74 65 | 72 73 20 69 73 20 70 6f |r printe|rs is po|
|00000400| 73 73 69 62 6c 65 20 75 | 73 69 6e 67 20 4c 61 73 |ssible u|sing Las|
|00000410| 65 72 57 72 69 74 65 72 | 20 46 6f 6e 74 20 55 74 |erWriter| Font Ut|
|00000420| 69 6c 69 74 79 20 76 65 | 72 73 69 6f 6e 20 37 2e |ility ve|rsion 7.|
|00000430| 30 20 6f 72 20 67 72 65 | 61 74 65 72 20 61 6e 64 |0 or gre|ater and|
|00000440| 20 64 72 6f 70 2d 69 6e | 20 65 6e 68 61 6e 63 65 | drop-in| enhance|
|00000450| 6d 65 6e 74 73 20 63 61 | 6c 6c 65 64 20 55 54 49 |ments ca|lled UTI|
|00000460| 4c 73 20 61 73 20 64 65 | 73 63 72 69 62 65 64 20 |Ls as de|scribed |
|00000470| 69 6e 20 74 68 65 20 61 | 72 74 69 63 6c 65 20 d2 |in the a|rticle .|
|00000480| 50 6f 73 74 53 63 72 69 | 70 74 20 45 6e 68 61 6e |PostScri|pt Enhan|
|00000490| 63 65 6d 65 6e 74 73 20 | 66 6f 72 20 74 68 65 20 |cements |for the |
|000004a0| 4c 61 73 65 72 57 72 69 | 74 65 72 20 46 6f 6e 74 |LaserWri|ter Font|
|000004b0| 20 55 74 69 6c 69 74 79 | d3 20 62 79 20 42 72 79 | Utility|. by Bry|
|000004c0| 61 6e 20 4b 2e 20 28 d2 | 42 65 61 6b 65 72 d3 29 |an K. (.|Beaker.)|
|000004d0| 20 52 65 73 73 6c 65 72 | 20 69 6e 20 64 65 76 65 | Ressler| in deve|
|000004e0| 6c 6f 70 20 49 73 73 75 | 65 20 31 30 2e 0d 54 68 |lop Issu|e 10..Th|
|000004f0| 65 20 4d 61 63 69 6e 74 | 6f 73 68 20 50 41 50 20 |e Macint|osh PAP |
|00000500| 63 6c 69 65 6e 74 20 69 | 73 20 63 6f 6e 74 61 69 |client i|s contai|
|00000510| 6e 65 64 20 69 6e 20 61 | 6e 20 4d 50 57 20 6f 62 |ned in a|n MPW ob|
|00000520| 6a 65 63 74 20 66 69 6c | 65 20 6e 61 6d 65 64 20 |ject fil|e named |
|00000530| d2 50 41 50 2e 57 72 6b | 53 74 61 74 69 6f 6e 2e |.PAP.Wrk|Station.|
|00000540| 6f d3 20 77 68 69 63 68 | 20 63 61 6e 20 62 65 20 |o. which| can be |
|00000550| 6c 69 6e 6b 65 64 20 77 | 69 74 68 20 61 6e 20 61 |linked w|ith an a|
|00000560| 70 70 6c 69 63 61 74 69 | 6f 6e 20 70 72 6f 67 72 |pplicati|on progr|
|00000570| 61 6d 2e 20 41 73 20 73 | 74 61 74 65 64 20 61 62 |am. As s|tated ab|
|00000580| 6f 76 65 2c 20 74 68 69 | 73 20 6f 62 6a 65 63 74 |ove, thi|s object|
|00000590| 20 6d 6f 64 75 6c 65 20 | 73 68 6f 75 6c 64 20 6f | module |should o|
|000005a0| 6e 6c 79 20 62 65 20 75 | 73 65 64 20 77 68 65 6e |nly be u|sed when|
|000005b0| 20 74 68 65 20 4d 61 63 | 69 6e 74 6f 73 68 20 50 | the Mac|intosh P|
|000005c0| 72 69 6e 74 20 4d 61 6e | 61 67 65 72 20 69 73 20 |rint Man|ager is |
|000005d0| 69 6e 73 75 66 66 69 63 | 69 65 6e 74 20 66 6f 72 |insuffic|ient for|
|000005e0| 20 63 6f 6d 6d 75 6e 69 | 63 61 74 69 6e 67 20 77 | communi|cating w|
|000005f0| 69 74 68 20 61 20 6e 65 | 74 77 6f 72 6b 20 70 72 |ith a ne|twork pr|
|00000600| 69 6e 74 65 72 20 6f 72 | 20 70 72 69 6e 74 20 73 |inter or| print s|
|00000610| 65 72 76 65 72 2e 20 54 | 68 65 20 66 75 6e 63 74 |erver. T|he funct|
|00000620| 69 6f 6e 73 20 69 6e 63 | 6c 75 64 65 64 20 69 6e |ions inc|luded in|
|00000630| 20 74 68 65 20 4d 61 63 | 69 6e 74 6f 73 68 20 50 | the Mac|intosh P|
|00000640| 41 50 20 63 6c 69 65 6e | 74 20 61 72 65 20 64 65 |AP clien|t are de|
|00000650| 73 63 72 69 62 65 64 20 | 69 6e 20 74 68 69 73 20 |scribed |in this |
|00000660| 64 6f 63 75 6d 65 6e 74 | 2e 20 0d 4e 6f 74 65 3a |document|. .Note:|
|00000670| 09 41 6e 79 20 74 68 69 | 72 64 2d 70 61 72 74 79 |.Any thi|rd-party|
|00000680| 20 73 6f 66 74 77 61 72 | 65 20 70 72 6f 67 72 61 | softwar|e progra|
|00000690| 6d 20 74 68 61 74 20 75 | 73 65 73 20 61 6c 6c 20 |m that u|ses all |
|000006a0| 6f 72 20 70 61 72 74 20 | 6f 66 20 74 68 65 20 66 |or part |of the f|
|000006b0| 75 6e 63 74 69 6f 6e 73 | 20 66 6f 75 6e 64 20 69 |unctions| found i|
|000006c0| 6e 20 50 41 50 2e 57 72 | 6b 53 74 61 74 69 6f 6e |n PAP.Wr|kStation|
|000006d0| 2e 6f 20 6d 75 73 74 20 | 62 65 20 6c 69 63 65 6e |.o must |be licen|
|000006e0| 73 65 64 20 77 69 74 68 | 20 41 70 70 6c 65 20 43 |sed with| Apple C|
|000006f0| 6f 6d 70 75 74 65 72 d5 | 73 20 53 6f 66 74 77 61 |omputer.|s Softwa|
|00000700| 72 65 20 4c 69 63 65 6e | 73 69 6e 67 20 64 65 70 |re Licen|sing dep|
|00000710| 61 72 74 6d 65 6e 74 2e | 20 20 46 6f 72 20 6d 6f |artment.| For mo|
|00000720| 72 65 20 6c 69 63 65 6e | 73 69 6e 67 20 69 6e 66 |re licen|sing inf|
|00000730| 6f 72 6d 61 74 69 6f 6e | 2c 20 63 6f 6e 74 61 63 |ormation|, contac|
|00000740| 74 3a 0d 09 09 09 53 6f | 66 74 77 61 72 65 20 4c |t:....So|ftware L|
|00000750| 69 63 65 6e 73 69 6e 67 | 0d 09 09 09 41 70 70 6c |icensing|....Appl|
|00000760| 65 20 43 6f 6d 70 75 74 | 65 72 2c 20 49 6e 63 2e |e Comput|er, Inc.|
|00000770| 0d 09 09 09 32 34 32 30 | 20 52 69 64 67 65 70 6f |....2420| Ridgepo|
|00000780| 69 6e 74 20 44 72 69 76 | 65 2c 20 4d 53 3a 20 31 |int Driv|e, MS: 1|
|00000790| 39 38 2d 53 57 4c 0d 09 | 09 09 41 75 73 74 69 6e |98-SWL..|..Austin|
|000007a0| 2c 20 54 58 20 20 37 38 | 37 35 34 0d 09 09 09 28 |, TX 78|754....(|
|000007b0| 35 31 32 29 20 39 31 39 | 2d 32 36 34 35 0d 09 09 |512) 919|-2645...|
|000007c0| 09 41 70 70 6c 65 4c 69 | 6e 6b 3a 20 53 57 2e 4c |.AppleLi|nk: SW.L|
|000007d0| 49 43 45 4e 53 45 0d 50 | 41 50 20 44 61 74 61 20 |ICENSE.P|AP Data |
|000007e0| 53 74 72 75 63 74 75 72 | 65 73 0d 54 68 65 20 66 |Structur|es.The f|
|000007f0| 75 6e 63 74 69 6f 6e 73 | 20 69 6e 20 74 68 65 20 |unctions| in the |
|00000800| 4d 61 63 69 6e 74 6f 73 | 68 20 50 41 50 20 57 6f |Macintos|h PAP Wo|
|00000810| 72 6b 73 74 61 74 69 6f | 6e 20 49 6e 74 65 72 66 |rkstatio|n Interf|
|00000820| 61 63 65 20 75 73 65 20 | 6f 6e 65 20 64 61 74 61 |ace use |one data|
|00000830| 20 73 74 72 75 63 74 75 | 72 65 20 6e 6f 74 20 64 | structu|re not d|
|00000840| 65 66 69 6e 65 64 20 69 | 6e 20 74 68 65 20 73 74 |efined i|n the st|
|00000850| 61 6e 64 61 72 64 20 4d | 50 57 20 69 6e 74 65 72 |andard M|PW inter|
|00000860| 66 61 63 65 20 66 69 6c | 65 73 2c 20 74 68 65 20 |face fil|es, the |
|00000870| 50 41 50 20 73 74 61 74 | 75 73 20 72 65 63 6f 72 |PAP stat|us recor|
|00000880| 64 2e 20 20 54 68 65 20 | 50 41 50 20 73 74 61 74 |d. The |PAP stat|
|00000890| 75 73 20 72 65 63 6f 72 | 64 20 69 73 20 64 65 66 |us recor|d is def|
|000008a0| 69 6e 65 64 20 62 79 20 | 74 68 65 20 50 41 50 53 |ined by |the PAPS|
|000008b0| 74 61 74 75 73 52 65 63 | 20 64 61 74 61 20 74 79 |tatusRec| data ty|
|000008c0| 70 65 2e 0d 20 20 20 20 | 54 59 50 45 0d 20 20 20 |pe.. |TYPE. |
|000008d0| 20 20 20 20 50 41 50 53 | 74 61 74 75 73 52 65 63 | PAPS|tatusRec|
|000008e0| 50 74 72 20 3d 20 5e 50 | 41 50 53 74 61 74 75 73 |Ptr = ^P|APStatus|
|000008f0| 52 65 63 3b 0d 20 20 20 | 20 20 20 20 50 41 50 53 |Rec;. | PAPS|
|00000900| 74 61 74 75 73 52 65 63 | 20 3d 20 52 45 43 4f 52 |tatusRec| = RECOR|
|00000910| 44 0d 20 20 20 20 20 20 | 20 20 20 20 70 61 70 53 |D. | papS|
|00000920| 6f 63 6b 65 74 3a 20 53 | 69 67 6e 65 64 42 79 74 |ocket: S|ignedByt|
|00000930| 65 3b 20 20 20 7b 50 41 | 50 4f 70 65 6e 3a 20 41 |e; {PA|POpen: A|
|00000940| 54 50 20 72 65 73 70 6f | 6e 64 69 6e 67 20 73 6f |TP respo|nding so|
|00000950| 63 6b 65 74 7d 0d 20 20 | 20 20 20 20 20 20 20 20 |cket}. | |
|00000960| 70 61 70 46 6c 6f 77 3a | 20 20 20 53 69 67 6e 65 |papFlow:| Signe|
|00000970| 64 42 79 74 65 3b 20 20 | 20 7b 50 41 50 4f 70 65 |dByte; | {PAPOpe|
|00000980| 6e 3a 20 46 6c 6f 77 20 | 71 75 61 6e 74 75 6d 7d |n: Flow |quantum}|
|00000990| 0d 20 20 20 20 20 20 20 | 20 20 20 70 61 70 52 65 |. | papRe|
|000009a0| 73 75 6c 74 3a 20 49 6e | 74 65 67 65 72 3b 20 20 |sult: In|teger; |
|000009b0| 20 20 20 20 7b 50 41 50 | 4f 70 65 6e 3a 20 72 65 | {PAP|Open: re|
|000009c0| 73 75 6c 74 7d 0d 20 20 | 20 20 20 20 20 20 20 20 |sult}. | |
|000009d0| 73 74 61 74 75 73 53 74 | 72 3a 20 53 54 52 32 35 |statusSt|r: STR25|
|000009e0| 35 3b 20 20 20 20 20 20 | 20 7b 73 74 61 74 75 73 |5; | {status|
|000009f0| 20 73 74 72 69 6e 67 7d | 0d 20 20 20 20 20 20 20 | string}|. |
|00000a00| 45 4e 44 3b 0d 54 68 65 | 20 66 69 72 73 74 20 74 |END;.The| first t|
|00000a10| 68 72 65 65 20 66 69 65 | 6c 64 73 20 69 6e 20 74 |hree fie|lds in t|
|00000a20| 68 65 20 50 41 50 53 74 | 61 74 75 73 52 65 63 20 |he PAPSt|atusRec |
|00000a30| 72 65 63 6f 72 64 20 61 | 72 65 20 72 65 74 75 72 |record a|re retur|
|00000a40| 6e 65 64 20 6f 6e 6c 79 | 20 62 79 20 50 41 50 4f |ned only| by PAPO|
|00000a50| 70 65 6e 2e 20 57 68 65 | 6e 20 50 41 50 4f 70 65 |pen. Whe|n PAPOpe|
|00000a60| 6e 20 68 61 73 20 63 6f | 6d 70 6c 65 74 65 64 20 |n has co|mpleted |
|00000a70| 73 75 63 63 65 73 73 66 | 75 6c 6c 79 2c 20 74 68 |successf|ully, th|
|00000a80| 65 20 70 61 70 53 6f 63 | 6b 65 74 20 66 69 65 6c |e papSoc|ket fiel|
|00000a90| 64 20 77 69 6c 6c 20 63 | 6f 6e 74 61 69 6e 20 74 |d will c|ontain t|
|00000aa0| 68 65 20 41 54 50 20 72 | 65 73 70 6f 6e 64 69 6e |he ATP r|espondin|
|00000ab0| 67 20 73 6f 63 6b 65 74 | 20 6f 66 20 74 68 65 20 |g socket| of the |
|00000ac0| 70 72 69 6e 74 65 72 20 | 6f 72 20 70 72 69 6e 74 |printer |or print|
|00000ad0| 20 73 65 72 76 65 72 2c | 20 74 68 65 20 70 61 70 | server,| the pap|
|00000ae0| 46 6c 6f 77 20 66 69 65 | 6c 64 20 77 69 6c 6c 20 |Flow fie|ld will |
|00000af0| 63 6f 6e 74 61 69 6e 20 | 74 68 65 20 66 6c 6f 77 |contain |the flow|
|00000b00| 20 71 75 61 6e 74 75 6d | 20 6f 66 20 74 68 65 20 | quantum| of the |
|00000b10| 70 72 69 6e 74 65 72 20 | 6f 72 20 70 72 69 6e 74 |printer |or print|
|00000b20| 20 73 65 72 76 65 72 2c | 20 61 6e 64 20 74 68 65 | server,| and the|
|00000b30| 20 70 61 70 52 65 73 75 | 6c 74 20 66 69 65 6c 64 | papResu|lt field|
|00000b40| 20 77 69 6c 6c 20 63 6f | 6e 74 61 69 6e 20 7a 65 | will co|ntain ze|
|00000b50| 72 6f 20 69 6e 64 69 63 | 61 74 69 6e 67 20 74 68 |ro indic|ating th|
|00000b60| 65 20 50 41 50 20 63 6f | 6e 6e 65 63 74 69 6f 6e |e PAP co|nnection|
|00000b70| 20 69 73 20 6f 70 65 6e | 2e 0d 54 68 65 20 73 74 | is open|..The st|
|00000b80| 61 74 75 73 53 74 72 20 | 66 69 65 6c 64 20 6f 66 |atusStr |field of|
|00000b90| 20 74 68 65 20 50 41 50 | 53 74 61 74 75 73 52 65 | the PAP|StatusRe|
|00000ba0| 63 20 72 65 63 6f 72 64 | 20 63 6f 6e 74 61 69 6e |c record| contain|
|00000bb0| 73 20 73 74 61 74 75 73 | 20 69 6e 66 6f 72 6d 61 |s status| informa|
|00000bc0| 74 69 6f 6e 20 72 65 74 | 75 72 6e 65 64 20 62 79 |tion ret|urned by|
|00000bd0| 20 74 68 65 20 70 72 69 | 6e 74 65 72 20 6f 72 20 | the pri|nter or |
|00000be0| 70 72 69 6e 74 20 73 65 | 72 76 65 72 20 74 6f 20 |print se|rver to |
|00000bf0| 74 68 65 20 50 41 50 4f | 70 65 6e 20 61 6e 64 20 |the PAPO|pen and |
|00000c00| 50 41 50 53 74 61 74 75 | 73 20 66 75 6e 63 74 69 |PAPStatu|s functi|
|00000c10| 6f 6e 73 2e 20 20 54 68 | 65 20 4d 61 63 69 6e 74 |ons. Th|e Macint|
|00000c20| 6f 73 68 20 54 65 63 68 | 6e 69 63 61 6c 20 4e 6f |osh Tech|nical No|
|00000c30| 74 65 20 d2 4e 57 20 32 | 30 20 2d 20 50 41 50 20 |te .NW 2|0 - PAP |
|00000c40| 53 74 61 74 75 73 20 42 | 75 66 66 65 72 d3 20 64 |Status B|uffer. d|
|00000c50| 65 73 63 72 69 62 65 73 | 20 74 68 65 20 73 74 61 |escribes| the sta|
|00000c60| 74 75 73 53 74 72 20 66 | 6f 72 6d 61 74 20 72 65 |tusStr f|ormat re|
|00000c70| 74 75 72 6e 65 64 20 62 | 79 20 41 70 70 6c 65 d5 |turned b|y Apple.|
|00000c80| 73 20 4c 61 73 65 72 57 | 72 69 74 65 72 20 61 6e |s LaserW|riter an|
|00000c90| 64 20 49 6d 61 67 65 57 | 72 69 74 65 72 20 28 77 |d ImageW|riter (w|
|00000ca0| 69 74 68 20 74 68 65 20 | 49 6d 61 67 65 57 72 69 |ith the |ImageWri|
|00000cb0| 74 65 72 ca 49 49 2f 4c | 51 20 4c 6f 63 61 6c 54 |ter.II/L|Q LocalT|
|00000cc0| 61 6c 6b 20 4f 70 74 69 | 6f 6e 20 63 61 72 64 20 |alk Opti|on card |
|00000cd0| 69 6e 73 74 61 6c 6c 65 | 64 29 20 70 72 69 6e 74 |installe|d) print|
|00000ce0| 65 72 73 2e 0d 50 41 50 | 20 46 75 6e 63 74 69 6f |ers..PAP| Functio|
|00000cf0| 6e 73 0d 50 41 50 4f 70 | 65 6e 0d 59 6f 75 20 63 |ns.PAPOp|en.You c|
|00000d00| 61 6e 20 75 73 65 20 50 | 41 50 4f 70 65 6e 20 74 |an use P|APOpen t|
|00000d10| 6f 20 6f 70 65 6e 20 61 | 20 50 41 50 20 63 6f 6e |o open a| PAP con|
|00000d20| 6e 65 63 74 69 6f 6e 20 | 74 6f 20 61 20 70 72 69 |nection |to a pri|
|00000d30| 6e 74 65 72 20 6f 72 20 | 70 72 69 6e 74 20 73 65 |nter or |print se|
|00000d40| 72 76 65 72 2e 0d 46 55 | 4e 43 54 49 4f 4e 20 50 |rver..FU|NCTION P|
|00000d50| 41 50 4f 70 65 6e 20 28 | 56 41 52 20 72 65 66 4e |APOpen (|VAR refN|
|00000d60| 75 6d 3a 20 49 4e 54 45 | 47 45 52 3b 20 70 72 69 |um: INTE|GER; pri|
|00000d70| 6e 74 65 72 4e 61 6d 65 | 3a 20 45 6e 74 69 74 79 |nterName|: Entity|
|00000d80| 50 74 72 3b 0d 09 66 6c | 6f 77 51 75 61 6e 74 75 |Ptr;..fl|owQuantu|
|00000d90| 6d 3a 20 49 4e 54 45 47 | 45 52 3b 20 73 74 61 74 |m: INTEG|ER; stat|
|00000da0| 75 73 42 75 66 66 3a 20 | 50 41 50 53 74 61 74 75 |usBuff: |PAPStatu|
|00000db0| 73 52 65 63 50 74 72 3b | 0d 09 56 41 52 20 63 6f |sRecPtr;|..VAR co|
|00000dc0| 6d 70 53 74 61 74 65 3a | 20 4f 53 45 72 72 29 3a |mpState:| OSErr):|
|00000dd0| 20 4f 53 45 72 72 3b 0d | 72 65 66 4e 75 6d 09 57 | OSErr;.|refNum.W|
|00000de0| 6f 72 64 20 72 65 73 75 | 6c 74 20 76 61 6c 75 65 |ord resu|lt value|
|00000df0| 3a 20 54 68 65 20 63 6f | 6e 6e 65 63 74 69 6f 6e |: The co|nnection|
|00000e00| 20 72 65 66 65 72 65 6e | 63 65 20 6e 75 6d 62 65 | referen|ce numbe|
|00000e10| 72 2e 0d 70 72 69 6e 74 | 65 72 4e 61 6d 65 09 4c |r..print|erName.L|
|00000e20| 6f 6e 67 77 6f 72 64 20 | 69 6e 70 75 74 20 70 6f |ongword |input po|
|00000e30| 69 6e 74 65 72 3a 20 41 | 20 70 6f 69 6e 74 65 72 |inter: A| pointer|
|00000e40| 20 74 6f 20 74 68 65 20 | 70 61 63 6b 65 64 20 65 | to the |packed e|
|00000e50| 6e 74 69 74 79 20 6e 61 | 6d 65 20 6f 66 20 61 20 |ntity na|me of a |
|00000e60| 70 72 69 6e 74 65 72 20 | 6f 72 20 70 72 69 6e 74 |printer |or print|
|00000e70| 20 73 65 72 76 65 72 2e | 0d 66 6c 6f 77 51 75 61 | server.|.flowQua|
|00000e80| 6e 74 75 6d 09 57 6f 72 | 64 20 69 6e 70 75 74 20 |ntum.Wor|d input |
|00000e90| 76 61 6c 75 65 3a 20 54 | 68 65 20 66 6c 6f 77 20 |value: T|he flow |
|00000ea0| 71 75 61 6e 74 75 6d 20 | 69 6e 20 74 68 65 20 72 |quantum |in the r|
|00000eb0| 61 6e 67 65 20 6f 66 20 | 31 20 74 6f 20 38 2e 20 |ange of |1 to 8. |
|00000ec0| 54 68 65 20 66 6c 6f 77 | 20 71 75 61 6e 74 75 6d |The flow| quantum|
|00000ed0| 20 69 73 20 65 71 75 61 | 6c 20 74 6f 20 74 68 65 | is equa|l to the|
|00000ee0| 20 73 69 7a 65 20 6f 66 | 20 72 65 61 64 42 75 66 | size of| readBuf|
|00000ef0| 66 20 79 6f 75 20 77 69 | 6c 6c 20 70 61 73 73 20 |f you wi|ll pass |
|00000f00| 74 6f 20 57 50 41 50 52 | 65 61 64 20 64 69 76 69 |to WPAPR|ead divi|
|00000f10| 64 65 64 20 62 79 20 35 | 31 32 20 28 65 2e 67 2e |ded by 5|12 (e.g.|
|00000f20| 20 69 66 20 66 6c 6f 77 | 51 75 61 6e 74 75 6d 20 | if flow|Quantum |
|00000f30| 3d 20 4e 2c 20 74 68 65 | 6e 20 74 68 65 20 73 69 |= N, the|n the si|
|00000f40| 7a 65 20 6f 66 20 72 65 | 61 64 42 75 66 66 20 6d |ze of re|adBuff m|
|00000f50| 75 73 74 20 62 65 20 35 | 31 32 2a 4e 20 62 79 74 |ust be 5|12*N byt|
|00000f60| 65 73 29 2e 0d 73 74 61 | 74 75 73 42 75 66 66 09 |es)..sta|tusBuff.|
|00000f70| 4c 6f 6e 67 77 6f 72 64 | 20 69 6e 70 75 74 20 70 |Longword| input p|
|00000f80| 6f 69 6e 74 65 72 3a 20 | 41 20 70 6f 69 6e 74 65 |ointer: |A pointe|
|00000f90| 72 20 74 6f 20 61 20 50 | 41 50 53 74 61 74 75 73 |r to a P|APStatus|
|00000fa0| 52 65 63 2e 0d 63 6f 6d | 70 53 74 61 74 65 09 57 |Rec..com|pState.W|
|00000fb0| 6f 72 64 20 72 65 73 75 | 6c 74 20 76 61 6c 75 65 |ord resu|lt value|
|00000fc0| 3a 20 41 20 77 6f 72 64 | 20 74 68 61 74 20 63 61 |: A word| that ca|
|00000fd0| 6e 20 62 65 20 6d 6f 6e | 69 74 6f 72 65 64 20 62 |n be mon|itored b|
|00000fe0| 79 20 74 68 65 20 63 61 | 6c 6c 65 72 20 66 6f 72 |y the ca|ller for|
|00000ff0| 20 63 61 6c 6c 20 63 6f | 6d 70 6c 65 74 69 6f 6e | call co|mpletion|
|00001000| 20 61 6e 64 20 65 72 72 | 6f 72 20 63 6f 6e 64 69 | and err|or condi|
|00001010| 74 69 6f 6e 73 2e 0d 50 | 41 50 4f 70 65 6e 20 66 |tions..P|APOpen f|
|00001020| 69 6e 64 73 20 74 68 65 | 20 70 72 69 6e 74 65 72 |inds the| printer|
|00001030| 20 6f 72 20 70 72 69 6e | 74 20 73 65 72 76 65 72 | or prin|t server|
|00001040| 20 73 70 65 63 69 66 69 | 65 64 20 62 79 20 70 72 | specifi|ed by pr|
|00001050| 69 6e 74 65 72 4e 61 6d | 65 20 61 6e 64 20 61 74 |interNam|e and at|
|00001060| 74 65 6d 70 74 73 20 74 | 6f 20 6f 70 65 6e 20 61 |tempts t|o open a|
|00001070| 20 50 41 50 20 63 6f 6e | 6e 65 63 74 69 6f 6e 20 | PAP con|nection |
|00001080| 77 69 74 68 20 74 68 61 | 74 20 70 72 69 6e 74 65 |with tha|t printe|
|00001090| 72 20 6f 72 20 70 72 69 | 6e 74 20 73 65 72 76 65 |r or pri|nt serve|
|000010a0| 72 2e 20 49 66 20 74 68 | 65 72 65 20 61 72 65 20 |r. If th|ere are |
|000010b0| 6e 6f 20 66 72 65 65 20 | 50 41 50 20 43 6f 6e 6e |no free |PAP Conn|
|000010c0| 65 63 74 69 6f 6e 20 43 | 6f 6e 74 72 6f 6c 20 42 |ection C|ontrol B|
|000010d0| 6c 6f 63 6b 73 20 28 43 | 43 42 73 29 20 61 76 61 |locks (C|CBs) ava|
|000010e0| 69 6c 61 62 6c 65 20 74 | 6f 20 75 73 65 20 66 6f |ilable t|o use fo|
|000010f0| 72 20 74 68 65 20 63 6f | 6e 6e 65 63 74 69 6f 6e |r the co|nnection|
|00001100| 2c 20 74 68 65 20 50 41 | 50 4f 70 65 6e 20 66 75 |, the PA|POpen fu|
|00001110| 6e 63 74 69 6f 6e 20 72 | 65 74 75 72 6e 73 20 50 |nction r|eturns P|
|00001120| 41 50 4e 6f 43 43 42 73 | 2e 20 49 66 20 74 68 65 |APNoCCBs|. If the|
|00001130| 20 70 72 69 6e 74 65 72 | 20 6f 72 20 70 72 69 6e | printer| or prin|
|00001140| 74 20 73 65 72 76 65 72 | 20 73 70 65 63 69 66 69 |t server| specifi|
|00001150| 65 64 20 62 79 20 70 72 | 69 6e 74 65 72 4e 61 6d |ed by pr|interNam|
|00001160| 65 20 69 73 20 6e 6f 74 | 20 66 6f 75 6e 64 20 6f |e is not| found o|
|00001170| 6e 20 74 68 65 20 41 70 | 70 6c 65 54 61 6c 6b 20 |n the Ap|pleTalk |
|00001180| 6e 65 74 77 6f 72 6b 2c | 20 74 68 65 20 50 41 50 |network,| the PAP|
|00001190| 4f 70 65 6e 20 66 75 6e | 63 74 69 6f 6e 20 72 65 |Open fun|ction re|
|000011a0| 74 75 72 6e 73 20 50 41 | 50 4e 6f 50 72 69 6e 74 |turns PA|PNoPrint|
|000011b0| 65 72 2e 0d 50 41 50 4f | 70 65 6e 20 69 73 20 65 |er..PAPO|pen is e|
|000011c0| 78 65 63 75 74 65 64 20 | 61 73 79 6e 63 68 72 6f |xecuted |asynchro|
|000011d0| 6e 6f 75 73 6c 79 2e 20 | 49 66 20 74 68 65 20 50 |nously. |If the P|
|000011e0| 41 50 4f 70 65 6e 20 66 | 75 6e 63 74 69 6f 6e 20 |APOpen f|unction |
|000011f0| 72 65 73 75 6c 74 20 69 | 73 20 6e 6f 45 72 72 2c |result i|s noErr,|
|00001200| 20 74 68 65 6e 20 72 65 | 66 4e 75 6d 20 69 73 20 | then re|fNum is |
|00001210| 76 61 6c 69 64 20 61 6e | 64 20 74 68 65 20 63 61 |valid an|d the ca|
|00001220| 6c 6c 65 72 20 63 61 6e | 20 6d 6f 6e 69 74 6f 72 |ller can| monitor|
|00001230| 20 74 68 65 20 76 61 72 | 69 61 62 6c 65 20 63 6f | the var|iable co|
|00001240| 6d 70 53 74 61 74 65 20 | 66 6f 72 20 63 61 6c 6c |mpState |for call|
|00001250| 20 63 6f 6d 70 6c 65 74 | 69 6f 6e 2e 20 57 68 69 | complet|ion. Whi|
|00001260| 6c 65 20 74 68 65 20 63 | 61 6c 6c 20 69 73 20 65 |le the c|all is e|
|00001270| 78 65 63 75 74 69 6e 67 | 2c 20 63 6f 6d 70 53 74 |xecuting|, compSt|
|00001280| 61 74 65 20 77 69 6c 6c | 20 68 61 76 65 20 61 20 |ate will| have a |
|00001290| 76 61 6c 75 65 20 67 72 | 65 61 74 65 72 20 74 68 |value gr|eater th|
|000012a0| 61 6e 20 7a 65 72 6f 2e | 20 57 68 65 6e 20 74 68 |an zero.| When th|
|000012b0| 65 20 63 61 6c 6c 20 68 | 61 73 20 63 6f 6d 70 6c |e call h|as compl|
|000012c0| 65 74 65 64 2c 20 74 68 | 65 20 76 61 6c 75 65 20 |eted, th|e value |
|000012d0| 6f 66 20 63 6f 6d 70 53 | 74 61 74 65 20 77 69 6c |of compS|tate wil|
|000012e0| 6c 20 65 69 74 68 65 72 | 20 62 65 20 6e 6f 45 72 |l either| be noEr|
|000012f0| 72 20 6f 72 20 61 20 6e | 65 67 61 74 69 76 65 20 |r or a n|egative |
|00001300| 76 61 6c 75 65 20 77 68 | 69 63 68 20 69 73 20 61 |value wh|ich is a|
|00001310| 6e 20 65 72 72 6f 72 20 | 63 6f 64 65 2e 0d 4e 6f |n error |code..No|
|00001320| 74 65 3a 09 50 41 50 4f | 70 65 6e 20 63 61 6e 20 |te:.PAPO|pen can |
|00001330| 62 65 20 63 61 6e 63 65 | 6c 65 64 20 62 65 66 6f |be cance|led befo|
|00001340| 72 65 20 69 74 20 63 6f | 6d 70 6c 65 74 65 73 20 |re it co|mpletes |
|00001350| 62 79 20 63 61 6c 6c 69 | 6e 67 20 57 50 41 50 43 |by calli|ng WPAPC|
|00001360| 6c 6f 73 65 20 28 77 69 | 74 68 20 74 68 65 20 72 |lose (wi|th the r|
|00001370| 65 66 4e 75 6d 29 2e 20 | 49 66 20 50 41 50 4f 70 |efNum). |If PAPOp|
|00001380| 65 6e 20 69 73 20 63 61 | 6e 63 65 6c 65 64 20 74 |en is ca|nceled t|
|00001390| 68 69 73 20 77 61 79 2c | 20 74 68 65 20 76 61 6c |his way,| the val|
|000013a0| 75 65 20 6f 66 20 63 6f | 6d 70 53 74 61 74 65 20 |ue of co|mpState |
|000013b0| 69 73 20 75 6e 64 65 66 | 69 6e 65 64 2e 0d 54 68 |is undef|ined..Th|
|000013c0| 65 20 73 74 61 74 75 73 | 53 74 72 20 66 69 65 6c |e status|Str fiel|
|000013d0| 64 20 6f 66 20 74 68 65 | 20 50 41 50 53 74 61 74 |d of the| PAPStat|
|000013e0| 75 73 52 65 63 20 73 68 | 6f 75 6c 64 20 62 65 20 |usRec sh|ould be |
|000013f0| 63 6c 65 61 72 65 64 20 | 62 65 66 6f 72 65 20 63 |cleared |before c|
|00001400| 61 6c 6c 69 6e 67 20 50 | 41 50 4f 70 65 6e 2e 20 |alling P|APOpen. |
|00001410| 57 68 69 6c 65 20 77 61 | 69 74 69 6e 67 20 66 6f |While wa|iting fo|
|00001420| 72 20 50 41 50 20 74 6f | 20 6f 70 65 6e 20 61 20 |r PAP to| open a |
|00001430| 63 6f 6e 6e 65 63 74 69 | 6f 6e 2c 20 74 68 65 20 |connecti|on, the |
|00001440| 63 61 6c 6c 65 72 20 63 | 61 6e 20 6d 6f 6e 69 74 |caller c|an monit|
|00001450| 6f 72 20 73 74 61 74 75 | 73 53 74 72 20 66 6f 72 |or statu|sStr for|
|00001460| 20 73 74 61 74 75 73 20 | 69 6e 66 6f 72 6d 61 74 | status |informat|
|00001470| 69 6f 6e 20 72 65 74 75 | 72 6e 65 64 20 62 79 20 |ion retu|rned by |
|00001480| 74 68 65 20 70 72 69 6e | 74 65 72 20 6f 72 20 70 |the prin|ter or p|
|00001490| 72 69 6e 74 20 73 65 72 | 76 65 72 2e 20 54 68 65 |rint ser|ver. The|
|000014a0| 20 63 61 6c 6c 65 72 20 | 6d 69 67 68 74 20 77 69 | caller |might wi|
|000014b0| 73 68 20 74 6f 20 64 69 | 73 70 6c 61 79 20 74 68 |sh to di|splay th|
|000014c0| 69 73 20 73 74 72 69 6e | 67 20 69 6e 20 61 6e 20 |is strin|g in an |
|000014d0| 61 70 70 72 6f 70 72 69 | 61 74 65 20 66 61 73 68 |appropri|ate fash|
|000014e0| 69 6f 6e 20 74 6f 20 70 | 72 6f 76 69 64 65 20 61 |ion to p|rovide a|
|000014f0| 70 70 72 6f 70 72 69 61 | 74 65 20 66 65 65 64 62 |ppropria|te feedb|
|00001500| 61 63 6b 20 74 6f 20 74 | 68 65 20 75 73 65 72 2e |ack to t|he user.|
|00001510| 20 49 66 20 50 41 50 4f | 70 65 6e 20 63 6f 6d 70 | If PAPO|pen comp|
|00001520| 6c 65 74 65 73 20 73 75 | 63 63 65 73 73 66 75 6c |letes su|ccessful|
|00001530| 6c 79 2c 20 74 68 65 20 | 70 61 70 53 6f 63 6b 65 |ly, the |papSocke|
|00001540| 74 20 66 69 65 6c 64 20 | 77 69 6c 6c 20 63 6f 6e |t field |will con|
|00001550| 74 61 69 6e 20 74 68 65 | 20 41 54 50 20 72 65 73 |tain the| ATP res|
|00001560| 70 6f 6e 64 69 6e 67 20 | 73 6f 63 6b 65 74 20 6f |ponding |socket o|
|00001570| 66 20 74 68 65 20 70 72 | 69 6e 74 65 72 20 6f 72 |f the pr|inter or|
|00001580| 20 70 72 69 6e 74 20 73 | 65 72 76 65 72 2c 20 74 | print s|erver, t|
|00001590| 68 65 20 70 61 70 46 6c | 6f 77 20 66 69 65 6c 64 |he papFl|ow field|
|000015a0| 20 77 69 6c 6c 20 63 6f | 6e 74 61 69 6e 20 74 68 | will co|ntain th|
|000015b0| 65 20 66 6c 6f 77 20 71 | 75 61 6e 74 75 6d 20 6f |e flow q|uantum o|
|000015c0| 66 20 74 68 65 20 70 72 | 69 6e 74 65 72 20 6f 72 |f the pr|inter or|
|000015d0| 20 70 72 69 6e 74 20 73 | 65 72 76 65 72 2c 20 61 | print s|erver, a|
|000015e0| 6e 64 20 74 68 65 20 70 | 61 70 52 65 73 75 6c 74 |nd the p|apResult|
|000015f0| 20 66 69 65 6c 64 20 77 | 69 6c 6c 20 63 6f 6e 74 | field w|ill cont|
|00001600| 61 69 6e 20 7a 65 72 6f | 20 69 6e 64 69 63 61 74 |ain zero| indicat|
|00001610| 69 6e 67 20 74 68 65 20 | 50 41 50 20 63 6f 6e 6e |ing the |PAP conn|
|00001620| 65 63 74 69 6f 6e 20 69 | 73 20 6f 70 65 6e 2e 0d |ection i|s open..|
|00001630| 52 65 73 75 6c 74 20 63 | 6f 64 65 73 0d 50 41 50 |Result c|odes.PAP|
|00001640| 4e 6f 43 43 42 73 09 2d | 34 30 39 36 09 4e 6f 20 |NoCCBs.-|4096.No |
|00001650| 66 72 65 65 20 43 43 42 | 73 20 61 76 61 69 6c 61 |free CCB|s availa|
|00001660| 62 6c 65 0d 50 41 50 4e | 6f 50 72 69 6e 74 65 72 |ble.PAPN|oPrinter|
|00001670| 09 2d 34 31 30 31 09 50 | 72 69 6e 74 65 72 20 6f |.-4101.P|rinter o|
|00001680| 72 20 70 72 69 6e 74 20 | 73 65 72 76 65 72 20 6e |r print |server n|
|00001690| 6f 74 20 66 6f 75 6e 64 | 0d 50 41 50 43 6c 6f 73 |ot found|.PAPClos|
|000016a0| 65 0d 59 6f 75 20 63 61 | 6e 20 75 73 65 20 57 50 |e.You ca|n use WP|
|000016b0| 41 50 43 6c 6f 73 65 20 | 74 6f 20 63 6c 6f 73 65 |APClose |to close|
|000016c0| 20 61 20 50 41 50 20 63 | 6f 6e 6e 65 63 74 69 6f | a PAP c|onnectio|
|000016d0| 6e 20 6f 72 20 6b 69 6c | 6c 20 61 20 50 41 50 4f |n or kil|l a PAPO|
|000016e0| 70 65 6e 20 72 65 71 75 | 65 73 74 2e 0d 46 55 4e |pen requ|est..FUN|
|000016f0| 43 54 49 4f 4e 20 57 50 | 41 50 43 6c 6f 73 65 20 |CTION WP|APClose |
|00001700| 28 72 65 66 4e 75 6d 3a | 20 49 4e 54 45 47 45 52 |(refNum:| INTEGER|
|00001710| 20 29 3a 20 4f 53 45 72 | 72 3b 0d 72 65 66 4e 75 | ): OSEr|r;.refNu|
|00001720| 6d 09 57 6f 72 64 20 69 | 6e 70 75 74 20 76 61 6c |m.Word i|nput val|
|00001730| 75 65 3a 20 54 68 65 20 | 63 6f 6e 6e 65 63 74 69 |ue: The |connecti|
|00001740| 6f 6e 20 72 65 66 65 72 | 65 6e 63 65 20 6e 75 6d |on refer|ence num|
|00001750| 62 65 72 2e 0d 57 50 41 | 50 43 6c 6f 73 65 20 69 |ber..WPA|PClose i|
|00001760| 73 20 65 78 65 63 75 74 | 65 64 20 73 79 6e 63 68 |s execut|ed synch|
|00001770| 72 6f 6e 6f 75 73 6c 79 | 2e 20 57 50 41 50 43 6c |ronously|. WPAPCl|
|00001780| 6f 73 65 20 63 61 6e 63 | 65 6c 73 20 61 6e 79 20 |ose canc|els any |
|00001790| 70 65 6e 64 69 6e 67 20 | 50 41 50 4f 70 65 6e 2c |pending |PAPOpen,|
|000017a0| 20 57 50 41 50 52 65 61 | 64 20 61 6e 64 20 57 50 | WPAPRea|d and WP|
|000017b0| 41 50 57 72 69 74 65 20 | 63 61 6c 6c 73 20 66 6f |APWrite |calls fo|
|000017c0| 72 20 74 68 65 20 73 70 | 65 63 69 66 69 65 64 20 |r the sp|ecified |
|000017d0| 63 6f 6e 6e 65 63 74 69 | 6f 6e 2e 0d 52 65 73 75 |connecti|on..Resu|
|000017e0| 6c 74 20 63 6f 64 65 73 | 0d 50 41 50 42 61 64 52 |lt codes|.PAPBadR|
|000017f0| 65 66 6e 75 6d 09 2d 34 | 30 39 37 09 42 61 64 20 |efnum.-4|097.Bad |
|00001800| 63 6f 6e 6e 65 63 74 69 | 6f 6e 20 72 65 66 6e 75 |connecti|on refnu|
|00001810| 6d 0d 50 41 50 52 65 61 | 64 0d 59 6f 75 20 63 61 |m.PAPRea|d.You ca|
|00001820| 6e 20 75 73 65 20 57 50 | 41 50 52 65 61 64 20 74 |n use WP|APRead t|
|00001830| 6f 20 72 65 61 64 20 64 | 61 74 61 20 66 72 6f 6d |o read d|ata from|
|00001840| 20 74 68 65 20 70 72 69 | 6e 74 65 72 20 6f 72 20 | the pri|nter or |
|00001850| 70 72 69 6e 74 20 73 65 | 72 76 65 72 2e 0d 46 55 |print se|rver..FU|
|00001860| 4e 43 54 49 4f 4e 20 57 | 50 41 50 52 65 61 64 20 |NCTION W|PAPRead |
|00001870| 28 72 65 66 4e 75 6d 3a | 20 49 4e 54 45 47 45 52 |(refNum:| INTEGER|
|00001880| 3b 20 72 65 61 64 42 75 | 66 66 3a 20 50 74 72 3b |; readBu|ff: Ptr;|
|00001890| 0d 09 56 41 52 20 64 61 | 74 61 53 69 7a 65 3a 20 |..VAR da|taSize: |
|000018a0| 49 4e 54 45 47 45 52 3b | 20 56 41 52 20 65 6f 66 |INTEGER;| VAR eof|
|000018b0| 3a 20 49 4e 54 45 47 45 | 52 3b 0d 09 56 41 52 20 |: INTEGE|R;..VAR |
|000018c0| 63 6f 6d 70 53 74 61 74 | 65 3a 20 4f 53 45 72 72 |compStat|e: OSErr|
|000018d0| 29 3a 20 4f 53 45 72 72 | 3b 0d 72 65 66 4e 75 6d |): OSErr|;.refNum|
|000018e0| 09 57 6f 72 64 20 69 6e | 70 75 74 20 76 61 6c 75 |.Word in|put valu|
|000018f0| 65 3a 20 54 68 65 20 63 | 6f 6e 6e 65 63 74 69 6f |e: The c|onnectio|
|00001900| 6e 20 72 65 66 65 72 65 | 6e 63 65 20 6e 75 6d 62 |n refere|nce numb|
|00001910| 65 72 2e 0d 72 65 61 64 | 42 75 66 66 09 4c 6f 6e |er..read|Buff.Lon|
|00001920| 67 77 6f 72 64 20 69 6e | 70 75 74 20 70 6f 69 6e |gword in|put poin|
|00001930| 74 65 72 3a 20 41 20 70 | 6f 69 6e 74 65 72 20 74 |ter: A p|ointer t|
|00001940| 6f 20 74 68 65 20 62 75 | 66 66 65 72 20 69 6e 74 |o the bu|ffer int|
|00001950| 6f 20 77 68 69 63 68 20 | 74 68 65 20 64 61 74 61 |o which |the data|
|00001960| 20 69 73 20 74 6f 20 62 | 65 20 72 65 61 64 2e 20 | is to b|e read. |
|00001970| 72 65 61 64 42 75 66 66 | 20 6d 75 73 74 20 62 65 |readBuff| must be|
|00001980| 20 66 6c 6f 77 51 75 61 | 6e 74 75 6d 2a 35 31 32 | flowQua|ntum*512|
|00001990| 20 62 79 74 65 73 20 69 | 6e 20 73 69 7a 65 20 28 | bytes i|n size (|
|000019a0| 73 65 65 20 50 41 50 4f | 70 65 6e 29 2e 0d 64 61 |see PAPO|pen)..da|
|000019b0| 74 61 53 69 7a 65 09 57 | 6f 72 64 20 72 65 73 75 |taSize.W|ord resu|
|000019c0| 6c 74 20 76 61 6c 75 65 | 3a 20 20 54 68 65 20 6e |lt value|: The n|
|000019d0| 75 6d 62 65 72 20 6f 66 | 20 62 79 74 65 73 20 61 |umber of| bytes a|
|000019e0| 63 74 75 61 6c 6c 79 20 | 72 65 61 64 2e 0d 65 6f |ctually |read..eo|
|000019f0| 66 09 57 6f 72 64 20 72 | 65 73 75 6c 74 20 76 61 |f.Word r|esult va|
|00001a00| 6c 75 65 3a 20 54 68 65 | 20 65 6e 64 2d 6f 66 2d |lue: The| end-of-|
|00001a10| 66 69 6c 65 20 69 6e 64 | 69 63 61 74 69 6f 6e 20 |file ind|ication |
|00001a20| 72 65 63 65 69 76 65 64 | 20 66 72 6f 6d 20 74 68 |received| from th|
|00001a30| 65 20 70 72 69 6e 74 65 | 72 20 6f 72 20 70 72 69 |e printe|r or pri|
|00001a40| 6e 74 20 73 65 72 76 65 | 72 2e 20 41 20 6e 6f 6e |nt serve|r. A non|
|00001a50| 2d 7a 65 72 6f 20 76 61 | 6c 75 65 20 69 6e 64 69 |-zero va|lue indi|
|00001a60| 63 61 74 65 73 20 65 6e | 64 2d 6f 66 2d 66 69 6c |cates en|d-of-fil|
|00001a70| 65 2e 0d 63 6f 6d 70 53 | 74 61 74 65 09 57 6f 72 |e..compS|tate.Wor|
|00001a80| 64 20 72 65 73 75 6c 74 | 20 76 61 6c 75 65 3a 20 |d result| value: |
|00001a90| 41 20 77 6f 72 64 20 74 | 68 61 74 20 63 61 6e 20 |A word t|hat can |
|00001aa0| 62 65 20 6d 6f 6e 69 74 | 6f 72 65 64 20 62 79 20 |be monit|ored by |
|00001ab0| 74 68 65 20 63 61 6c 6c | 65 72 20 66 6f 72 20 63 |the call|er for c|
|00001ac0| 61 6c 6c 20 63 6f 6d 70 | 6c 65 74 69 6f 6e 20 61 |all comp|letion a|
|00001ad0| 6e 64 20 65 72 72 6f 72 | 20 63 6f 6e 64 69 74 69 |nd error| conditi|
|00001ae0| 6f 6e 73 2e 0d 54 68 65 | 20 57 50 41 50 52 65 61 |ons..The| WPAPRea|
|00001af0| 64 20 66 75 6e 63 74 69 | 6f 6e 20 72 65 61 64 73 |d functi|on reads|
|00001b00| 20 75 70 20 74 6f 20 66 | 6c 6f 77 51 75 61 6e 74 | up to f|lowQuant|
|00001b10| 75 6d 2a 35 31 32 20 62 | 79 74 65 73 20 66 72 6f |um*512 b|ytes fro|
|00001b20| 6d 20 74 68 65 20 70 72 | 69 6e 74 65 72 20 6f 72 |m the pr|inter or|
|00001b30| 20 70 72 69 6e 74 20 73 | 65 72 76 65 72 20 6f 76 | print s|erver ov|
|00001b40| 65 72 20 74 68 65 20 73 | 70 65 63 69 66 69 65 64 |er the s|pecified|
|00001b50| 20 50 41 50 20 63 6f 6e | 6e 65 63 74 69 6f 6e 2e | PAP con|nection.|
|00001b60| 20 49 66 20 72 65 66 4e | 75 6d 20 64 6f 65 73 20 | If refN|um does |
|00001b70| 6e 6f 74 20 72 65 66 65 | 72 20 74 6f 20 61 20 76 |not refe|r to a v|
|00001b80| 61 6c 69 64 20 6f 70 65 | 6e 20 50 41 50 20 63 6f |alid ope|n PAP co|
|00001b90| 6e 6e 65 63 74 69 6f 6e | 2c 20 74 68 65 20 57 50 |nnection|, the WP|
|00001ba0| 41 50 52 65 61 64 20 66 | 75 6e 63 74 69 6f 6e 20 |APRead f|unction |
|00001bb0| 72 65 74 75 72 6e 73 20 | 50 41 50 42 61 64 52 65 |returns |PAPBadRe|
|00001bc0| 66 6e 75 6d 2e 20 50 41 | 50 20 6f 6e 6c 79 20 73 |fnum. PA|P only s|
|00001bd0| 75 70 70 6f 72 74 73 20 | 6f 6e 65 20 6f 75 74 73 |upports |one outs|
|00001be0| 74 61 6e 64 69 6e 67 20 | 57 50 41 50 52 65 61 64 |tanding |WPAPRead|
|00001bf0| 20 72 65 71 75 65 73 74 | 2c 20 73 6f 20 69 66 20 | request|, so if |
|00001c00| 74 68 65 72 65 20 69 73 | 20 61 6c 72 65 61 64 79 |there is| already|
|00001c10| 20 61 6e 20 61 63 74 69 | 76 65 20 57 50 41 50 52 | an acti|ve WPAPR|
|00001c20| 65 61 64 20 72 65 71 75 | 65 73 74 2c 20 74 68 65 |ead requ|est, the|
|00001c30| 20 57 50 41 50 52 65 61 | 64 20 66 75 6e 63 74 69 | WPAPRea|d functi|
|00001c40| 6f 6e 20 72 65 74 75 72 | 6e 73 20 50 41 50 41 63 |on retur|ns PAPAc|
|00001c50| 74 69 76 65 2e 0d 57 50 | 41 50 52 65 61 64 20 69 |tive..WP|APRead i|
|00001c60| 73 20 65 78 65 63 75 74 | 65 64 20 61 73 79 6e 63 |s execut|ed async|
|00001c70| 68 72 6f 6e 6f 75 73 6c | 79 2e 20 49 66 20 74 68 |hronousl|y. If th|
|00001c80| 65 20 57 50 41 50 52 65 | 61 64 20 66 75 6e 63 74 |e WPAPRe|ad funct|
|00001c90| 69 6f 6e 20 72 65 73 75 | 6c 74 20 69 73 20 6e 6f |ion resu|lt is no|
|00001ca0| 45 72 72 2c 20 74 68 65 | 6e 20 74 68 65 20 63 61 |Err, the|n the ca|
|00001cb0| 6c 6c 65 72 20 63 61 6e | 20 6d 6f 6e 69 74 6f 72 |ller can| monitor|
|00001cc0| 20 74 68 65 20 76 61 72 | 69 61 62 6c 65 20 63 6f | the var|iable co|
|00001cd0| 6d 70 53 74 61 74 65 20 | 66 6f 72 20 63 61 6c 6c |mpState |for call|
|00001ce0| 20 63 6f 6d 70 6c 65 74 | 69 6f 6e 2e 20 57 68 69 | complet|ion. Whi|
|00001cf0| 6c 65 20 74 68 65 20 63 | 61 6c 6c 20 69 73 20 65 |le the c|all is e|
|00001d00| 78 65 63 75 74 69 6e 67 | 2c 20 63 6f 6d 70 53 74 |xecuting|, compSt|
|00001d10| 61 74 65 20 77 69 6c 6c | 20 68 61 76 65 20 61 20 |ate will| have a |
|00001d20| 76 61 6c 75 65 20 67 72 | 65 61 74 65 72 20 74 68 |value gr|eater th|
|00001d30| 61 6e 20 7a 65 72 6f 2e | 20 57 68 65 6e 20 74 68 |an zero.| When th|
|00001d40| 65 20 63 61 6c 6c 20 68 | 61 73 20 63 6f 6d 70 6c |e call h|as compl|
|00001d50| 65 74 65 64 2c 20 74 68 | 65 20 76 61 6c 75 65 20 |eted, th|e value |
|00001d60| 6f 66 20 63 6f 6d 70 53 | 74 61 74 65 20 77 69 6c |of compS|tate wil|
|00001d70| 6c 20 65 69 74 68 65 72 | 20 62 65 20 6e 6f 45 72 |l either| be noEr|
|00001d80| 72 20 6f 72 20 61 20 6e | 65 67 61 74 69 76 65 20 |r or a n|egative |
|00001d90| 76 61 6c 75 65 20 77 68 | 69 63 68 20 69 73 20 61 |value wh|ich is a|
|00001da0| 6e 20 65 72 72 6f 72 20 | 63 6f 64 65 2e 20 57 50 |n error |code. WP|
|00001db0| 41 50 52 65 61 64 20 63 | 61 6e 20 62 65 20 63 61 |APRead c|an be ca|
|00001dc0| 6e 63 65 6c 65 64 20 62 | 65 66 6f 72 65 20 69 74 |nceled b|efore it|
|00001dd0| 20 63 6f 6d 70 6c 65 74 | 65 73 20 62 79 20 63 61 | complet|es by ca|
|00001de0| 6c 6c 69 6e 67 20 57 50 | 41 50 43 6c 6f 73 65 20 |lling WP|APClose |
|00001df0| 77 69 74 68 20 72 65 66 | 4e 75 6d 2e 0d 49 66 20 |with ref|Num..If |
|00001e00| 57 50 41 50 52 65 61 64 | 20 63 6f 6d 70 6c 65 74 |WPAPRead| complet|
|00001e10| 65 73 20 73 75 63 63 65 | 73 73 66 75 6c 6c 79 2c |es succe|ssfully,|
|00001e20| 20 64 61 74 61 53 69 7a | 65 20 77 69 6c 6c 20 63 | dataSiz|e will c|
|00001e30| 6f 6e 74 61 69 6e 20 74 | 68 65 20 6e 75 6d 62 65 |ontain t|he numbe|
|00001e40| 72 20 6f 66 20 62 79 74 | 65 73 20 72 65 61 64 20 |r of byt|es read |
|00001e50| 69 6e 74 6f 20 74 68 65 | 20 62 75 66 66 65 72 20 |into the| buffer |
|00001e60| 61 6e 64 20 65 6f 66 20 | 77 69 6c 6c 20 63 6f 6e |and eof |will con|
|00001e70| 74 61 69 6e 20 74 68 65 | 20 65 6e 64 2d 6f 66 2d |tain the| end-of-|
|00001e80| 66 69 6c 65 20 76 61 6c | 75 65 20 73 65 6e 74 20 |file val|ue sent |
|00001e90| 62 79 20 74 68 65 20 70 | 72 69 6e 74 65 72 20 6f |by the p|rinter o|
|00001ea0| 72 20 70 72 69 6e 74 20 | 73 65 72 76 65 72 2e 0d |r print |server..|
|00001eb0| 52 65 73 75 6c 74 20 63 | 6f 64 65 73 0d 50 41 50 |Result c|odes.PAP|
|00001ec0| 42 61 64 52 65 66 6e 75 | 6d 09 2d 34 30 39 37 09 |BadRefnu|m.-4097.|
|00001ed0| 42 61 64 20 63 6f 6e 6e | 65 63 74 69 6f 6e 20 72 |Bad conn|ection r|
|00001ee0| 65 66 6e 75 6d 0d 50 41 | 50 41 63 74 69 76 65 09 |efnum.PA|PActive.|
|00001ef0| 2d 34 30 39 38 09 57 50 | 41 50 52 65 61 64 20 72 |-4098.WP|APRead r|
|00001f00| 65 71 75 65 73 74 20 61 | 6c 72 65 61 64 79 20 61 |equest a|lready a|
|00001f10| 63 74 69 76 65 0d 50 41 | 50 43 6f 6e 6e 43 6c 6f |ctive.PA|PConnClo|
|00001f20| 73 65 64 09 2d 34 31 30 | 30 09 43 6f 6e 6e 65 63 |sed.-410|0.Connec|
|00001f30| 74 69 6f 6e 20 6a 75 73 | 74 20 63 6c 6f 73 65 64 |tion jus|t closed|
|00001f40| 0d 50 41 50 57 72 69 74 | 65 0d 59 6f 75 20 63 61 |.PAPWrit|e.You ca|
|00001f50| 6e 20 75 73 65 20 57 50 | 41 50 57 72 69 74 65 20 |n use WP|APWrite |
|00001f60| 74 6f 20 73 65 6e 64 20 | 64 61 74 61 20 74 6f 20 |to send |data to |
|00001f70| 74 68 65 20 70 72 69 6e | 74 65 72 20 6f 72 20 70 |the prin|ter or p|
|00001f80| 72 69 6e 74 20 73 65 72 | 76 65 72 2e 0d 46 55 4e |rint ser|ver..FUN|
|00001f90| 43 54 49 4f 4e 20 57 50 | 41 50 57 72 69 74 65 20 |CTION WP|APWrite |
|00001fa0| 28 72 65 66 4e 75 6d 3a | 20 49 4e 54 45 47 45 52 |(refNum:| INTEGER|
|00001fb0| 3b 20 64 61 74 61 42 75 | 66 66 3a 20 50 74 72 3b |; dataBu|ff: Ptr;|
|00001fc0| 0d 09 64 61 74 61 53 69 | 7a 65 3a 20 49 4e 54 45 |..dataSi|ze: INTE|
|00001fd0| 47 45 52 3b 20 65 6f 66 | 3a 20 49 4e 54 45 47 45 |GER; eof|: INTEGE|
|00001fe0| 52 3b 0d 09 56 41 52 20 | 63 6f 6d 70 53 74 61 74 |R;..VAR |compStat|
|00001ff0| 65 3a 20 4f 53 45 72 72 | 29 3a 20 4f 53 45 72 72 |e: OSErr|): OSErr|
|00002000| 3b 0d 72 65 66 4e 75 6d | 09 57 6f 72 64 20 69 6e |;.refNum|.Word in|
|00002010| 70 75 74 20 76 61 6c 75 | 65 3a 20 54 68 65 20 63 |put valu|e: The c|
|00002020| 6f 6e 6e 65 63 74 69 6f | 6e 20 72 65 66 65 72 65 |onnectio|n refere|
|00002030| 6e 63 65 20 6e 75 6d 62 | 65 72 2e 0d 64 61 74 61 |nce numb|er..data|
|00002040| 42 75 66 66 09 4c 6f 6e | 67 77 6f 72 64 20 69 6e |Buff.Lon|gword in|
|00002050| 70 75 74 20 70 6f 69 6e | 74 65 72 3a 20 41 20 70 |put poin|ter: A p|
|00002060| 6f 69 6e 74 65 72 20 74 | 6f 20 74 68 65 20 62 75 |ointer t|o the bu|
|00002070| 66 66 65 72 20 66 72 6f | 6d 20 77 68 69 63 68 20 |ffer fro|m which |
|00002080| 74 68 65 20 64 61 74 61 | 20 69 73 20 74 6f 20 62 |the data| is to b|
|00002090| 65 20 77 72 69 74 74 65 | 6e 2e 0d 64 61 74 61 53 |e writte|n..dataS|
|000020a0| 69 7a 65 09 57 6f 72 64 | 20 69 6e 70 75 74 20 76 |ize.Word| input v|
|000020b0| 61 6c 75 65 3a 20 54 68 | 65 20 6e 75 6d 62 65 72 |alue: Th|e number|
|000020c0| 20 6f 66 20 62 79 74 65 | 73 20 69 6e 20 64 61 74 | of byte|s in dat|
|000020d0| 61 42 75 66 66 20 74 6f | 20 77 72 69 74 65 2e 20 |aBuff to| write. |
|000020e0| 64 61 74 61 53 69 7a 65 | 20 6d 75 73 74 20 62 65 |dataSize| must be|
|000020f0| 20 6c 65 73 73 20 74 68 | 61 6e 20 6f 72 20 65 71 | less th|an or eq|
|00002100| 75 61 6c 20 74 6f 20 74 | 68 65 20 76 61 6c 75 65 |ual to t|he value|
|00002110| 20 72 65 74 75 72 6e 65 | 64 20 62 79 20 50 41 50 | returne|d by PAP|
|00002120| 4f 70 65 6e 20 69 6e 20 | 74 68 65 20 70 61 70 46 |Open in |the papF|
|00002130| 6c 6f 77 20 66 69 65 6c | 64 20 6f 66 20 74 68 65 |low fiel|d of the|
|00002140| 20 50 41 50 53 74 61 74 | 75 73 52 65 63 20 74 69 | PAPStat|usRec ti|
|00002150| 6d 65 73 20 35 31 32 20 | 28 65 2e 67 2e 20 69 66 |mes 512 |(e.g. if|
|00002160| 20 70 61 70 46 6c 6f 77 | 20 3d 20 4e 2c 20 74 68 | papFlow| = N, th|
|00002170| 65 6e 20 64 61 74 61 53 | 69 7a 65 20 6d 75 73 74 |en dataS|ize must|
|00002180| 20 62 65 20 6c 65 73 73 | 20 74 68 61 6e 20 6f 72 | be less| than or|
|00002190| 20 65 71 75 61 6c 20 74 | 6f 20 35 31 32 2a 4e 20 | equal t|o 512*N |
|000021a0| 62 79 74 65 73 29 2e 0d | 65 6f 66 09 57 6f 72 64 |bytes)..|eof.Word|
|000021b0| 20 69 6e 70 75 74 20 76 | 61 6c 75 65 3a 20 54 68 | input v|alue: Th|
|000021c0| 65 20 65 6e 64 2d 6f 66 | 2d 66 69 6c 65 20 69 6e |e end-of|-file in|
|000021d0| 64 69 63 61 74 69 6f 6e | 20 74 6f 20 73 65 6e 64 |dication| to send|
|000021e0| 20 74 6f 20 74 68 65 20 | 70 72 69 6e 74 65 72 20 | to the |printer |
|000021f0| 6f 72 20 70 72 69 6e 74 | 20 73 65 72 76 65 72 2e |or print| server.|
|00002200| 20 41 20 6e 6f 6e 2d 7a | 65 72 6f 20 76 61 6c 75 | A non-z|ero valu|
|00002210| 65 20 69 6e 64 69 63 61 | 74 65 73 20 65 6e 64 20 |e indica|tes end |
|00002220| 6f 66 20 66 69 6c 65 2e | 0d 63 6f 6d 70 53 74 61 |of file.|.compSta|
|00002230| 74 65 09 57 6f 72 64 20 | 72 65 73 75 6c 74 20 76 |te.Word |result v|
|00002240| 61 6c 75 65 3a 20 41 20 | 77 6f 72 64 20 74 68 61 |alue: A |word tha|
|00002250| 74 20 63 61 6e 20 62 65 | 20 6d 6f 6e 69 74 6f 72 |t can be| monitor|
|00002260| 65 64 20 62 79 20 74 68 | 65 20 63 61 6c 6c 65 72 |ed by th|e caller|
|00002270| 20 66 6f 72 20 63 61 6c | 6c 20 63 6f 6d 70 6c 65 | for cal|l comple|
|00002280| 74 69 6f 6e 20 61 6e 64 | 20 65 72 72 6f 72 20 63 |tion and| error c|
|00002290| 6f 6e 64 69 74 69 6f 6e | 73 2e 0d 54 68 65 20 57 |ondition|s..The W|
|000022a0| 50 41 50 57 72 69 74 65 | 20 66 75 6e 63 74 69 6f |PAPWrite| functio|
|000022b0| 6e 20 77 72 69 74 65 73 | 20 64 61 74 61 53 69 7a |n writes| dataSiz|
|000022c0| 65 20 62 79 74 65 73 20 | 74 6f 20 74 68 65 20 70 |e bytes |to the p|
|000022d0| 72 69 6e 74 65 72 20 6f | 72 20 70 72 69 6e 74 20 |rinter o|r print |
|000022e0| 73 65 72 76 65 72 20 6f | 76 65 72 20 74 68 65 20 |server o|ver the |
|000022f0| 73 70 65 63 69 66 69 65 | 64 20 50 41 50 20 63 6f |specifie|d PAP co|
|00002300| 6e 6e 65 63 74 69 6f 6e | 2e 20 49 66 20 72 65 66 |nnection|. If ref|
|00002310| 4e 75 6d 20 64 6f 65 73 | 20 6e 6f 74 20 72 65 66 |Num does| not ref|
|00002320| 65 72 20 74 6f 20 61 20 | 76 61 6c 69 64 20 6f 70 |er to a |valid op|
|00002330| 65 6e 20 50 41 50 20 63 | 6f 6e 6e 65 63 74 69 6f |en PAP c|onnectio|
|00002340| 6e 2c 20 74 68 65 20 57 | 50 41 50 57 72 69 74 65 |n, the W|PAPWrite|
|00002350| 20 66 75 6e 63 74 69 6f | 6e 20 72 65 74 75 72 6e | functio|n return|
|00002360| 73 20 50 41 50 42 61 64 | 52 65 66 6e 75 6d 2e 20 |s PAPBad|Refnum. |
|00002370| 50 41 50 20 6f 6e 6c 79 | 20 73 75 70 70 6f 72 74 |PAP only| support|
|00002380| 73 20 6f 6e 65 20 6f 75 | 74 73 74 61 6e 64 69 6e |s one ou|tstandin|
|00002390| 67 20 57 50 41 50 57 72 | 69 74 65 20 72 65 71 75 |g WPAPWr|ite requ|
|000023a0| 65 73 74 2c 20 73 6f 20 | 69 66 20 74 68 65 72 65 |est, so |if there|
|000023b0| 20 69 73 20 61 6c 72 65 | 61 64 79 20 61 6e 20 61 | is alre|ady an a|
|000023c0| 63 74 69 76 65 20 57 50 | 41 50 57 72 69 74 65 20 |ctive WP|APWrite |
|000023d0| 72 65 71 75 65 73 74 2c | 20 74 68 65 20 57 50 41 |request,| the WPA|
|000023e0| 50 57 72 69 74 65 20 66 | 75 6e 63 74 69 6f 6e 20 |PWrite f|unction |
|000023f0| 72 65 74 75 72 6e 73 20 | 50 41 50 41 63 74 69 76 |returns |PAPActiv|
|00002400| 65 2e 20 49 66 20 64 61 | 74 61 53 69 7a 65 20 69 |e. If da|taSize i|
|00002410| 73 20 67 72 65 61 74 65 | 72 20 74 68 61 6e 20 74 |s greate|r than t|
|00002420| 68 65 20 70 72 69 6e 74 | 65 72 20 6f 72 20 70 72 |he print|er or pr|
|00002430| 69 6e 74 20 73 65 72 76 | 65 72 d5 73 20 66 6c 6f |int serv|er.s flo|
|00002440| 77 20 71 75 61 6e 74 75 | 6d 20 28 61 73 20 72 65 |w quantu|m (as re|
|00002450| 74 75 72 6e 65 64 20 69 | 6e 20 70 61 70 46 6c 6f |turned i|n papFlo|
|00002460| 77 20 62 79 20 50 41 50 | 4f 70 65 6e 29 2c 20 74 |w by PAP|Open), t|
|00002470| 68 65 20 57 50 41 50 57 | 72 69 74 65 20 66 75 6e |he WPAPW|rite fun|
|00002480| 63 74 69 6f 6e 20 72 65 | 74 75 72 6e 73 20 50 41 |ction re|turns PA|
|00002490| 50 54 6f 6f 42 69 67 2e | 20 0d 57 50 41 50 57 72 |PTooBig.| .WPAPWr|
|000024a0| 69 74 65 20 69 73 20 65 | 78 65 63 75 74 65 64 20 |ite is e|xecuted |
|000024b0| 61 73 79 6e 63 68 72 6f | 6e 6f 75 73 6c 79 2e 20 |asynchro|nously. |
|000024c0| 49 66 20 74 68 65 20 57 | 50 41 50 57 72 69 74 65 |If the W|PAPWrite|
|000024d0| 20 66 75 6e 63 74 69 6f | 6e 20 72 65 73 75 6c 74 | functio|n result|
|000024e0| 20 69 73 20 6e 6f 45 72 | 72 2c 20 74 68 65 6e 20 | is noEr|r, then |
|000024f0| 74 68 65 20 63 61 6c 6c | 65 72 20 63 61 6e 20 6d |the call|er can m|
|00002500| 6f 6e 69 74 6f 72 20 74 | 68 65 20 76 61 72 69 61 |onitor t|he varia|
|00002510| 62 6c 65 20 63 6f 6d 70 | 53 74 61 74 65 20 66 6f |ble comp|State fo|
|00002520| 72 20 63 61 6c 6c 20 63 | 6f 6d 70 6c 65 74 69 6f |r call c|ompletio|
|00002530| 6e 2e 20 57 68 69 6c 65 | 20 74 68 65 20 63 61 6c |n. While| the cal|
|00002540| 6c 20 69 73 20 65 78 65 | 63 75 74 69 6e 67 2c 20 |l is exe|cuting, |
|00002550| 63 6f 6d 70 53 74 61 74 | 65 20 77 69 6c 6c 20 68 |compStat|e will h|
|00002560| 61 76 65 20 61 20 76 61 | 6c 75 65 20 67 72 65 61 |ave a va|lue grea|
|00002570| 74 65 72 20 74 68 61 6e | 20 7a 65 72 6f 2e 20 57 |ter than| zero. W|
|00002580| 68 65 6e 20 74 68 65 20 | 63 61 6c 6c 20 68 61 73 |hen the |call has|
|00002590| 20 63 6f 6d 70 6c 65 74 | 65 64 2c 20 74 68 65 20 | complet|ed, the |
|000025a0| 76 61 6c 75 65 20 6f 66 | 20 63 6f 6d 70 53 74 61 |value of| compSta|
|000025b0| 74 65 20 77 69 6c 6c 20 | 65 69 74 68 65 72 20 62 |te will |either b|
|000025c0| 65 20 6e 6f 45 72 72 20 | 6f 72 20 61 20 6e 65 67 |e noErr |or a neg|
|000025d0| 61 74 69 76 65 20 76 61 | 6c 75 65 20 77 68 69 63 |ative va|lue whic|
|000025e0| 68 20 69 73 20 61 6e 20 | 65 72 72 6f 72 20 63 6f |h is an |error co|
|000025f0| 64 65 2e 20 57 50 41 50 | 57 72 69 74 65 20 63 61 |de. WPAP|Write ca|
|00002600| 6e 20 62 65 20 63 61 6e | 63 65 6c 65 64 20 62 65 |n be can|celed be|
|00002610| 66 6f 72 65 20 69 74 20 | 63 6f 6d 70 6c 65 74 65 |fore it |complete|
|00002620| 73 20 62 79 20 63 61 6c | 6c 69 6e 67 20 57 50 41 |s by cal|ling WPA|
|00002630| 50 43 6c 6f 73 65 20 77 | 69 74 68 20 72 65 66 4e |PClose w|ith refN|
|00002640| 75 6d 2e 0d 52 65 73 75 | 6c 74 20 63 6f 64 65 73 |um..Resu|lt codes|
|00002650| 0d 50 41 50 42 61 64 52 | 65 66 6e 75 6d 09 2d 34 |.PAPBadR|efnum.-4|
|00002660| 30 39 37 09 42 61 64 20 | 63 6f 6e 6e 65 63 74 69 |097.Bad |connecti|
|00002670| 6f 6e 20 72 65 66 6e 75 | 6d 0d 50 41 50 41 63 74 |on refnu|m.PAPAct|
|00002680| 69 76 65 09 2d 34 30 39 | 38 09 57 50 41 50 57 72 |ive.-409|8.WPAPWr|
|00002690| 69 74 65 20 72 65 71 75 | 65 73 74 20 61 6c 72 65 |ite requ|est alre|
|000026a0| 61 64 79 20 61 63 74 69 | 76 65 0d 50 41 50 54 6f |ady acti|ve.PAPTo|
|000026b0| 6f 42 69 67 09 2d 34 30 | 39 39 09 57 72 69 74 65 |oBig.-40|99.Write|
|000026c0| 20 72 65 71 75 65 73 74 | 20 74 6f 6f 20 62 69 67 | request| too big|
|000026d0| 0d 50 41 50 43 6f 6e 6e | 43 6c 6f 73 65 64 09 2d |.PAPConn|Closed.-|
|000026e0| 34 31 30 30 09 43 6f 6e | 6e 65 63 74 69 6f 6e 20 |4100.Con|nection |
|000026f0| 6a 75 73 74 20 63 6c 6f | 73 65 64 0d 50 41 50 53 |just clo|sed.PAPS|
|00002700| 74 61 74 75 73 0d 59 6f | 75 20 63 61 6e 20 75 73 |tatus.Yo|u can us|
|00002710| 65 20 50 41 50 53 74 61 | 74 75 73 20 74 6f 20 72 |e PAPSta|tus to r|
|00002720| 65 74 72 69 65 76 65 20 | 74 68 65 20 63 75 72 72 |etrieve |the curr|
|00002730| 65 6e 74 20 73 74 61 74 | 75 73 20 73 74 72 69 6e |ent stat|us strin|
|00002740| 67 20 66 72 6f 6d 20 74 | 68 65 20 70 72 69 6e 74 |g from t|he print|
|00002750| 65 72 20 6f 72 20 70 72 | 69 6e 74 20 73 65 72 76 |er or pr|int serv|
|00002760| 65 72 2e 0d 46 55 4e 43 | 54 49 4f 4e 20 50 41 50 |er..FUNC|TION PAP|
|00002770| 53 74 61 74 75 73 20 28 | 70 72 69 6e 74 65 72 4e |Status (|printerN|
|00002780| 61 6d 65 3a 20 45 6e 74 | 69 74 79 50 74 72 3b 0d |ame: Ent|ityPtr;.|
|00002790| 09 73 74 61 74 75 73 42 | 75 66 66 3a 20 50 41 50 |.statusB|uff: PAP|
|000027a0| 53 74 61 74 75 73 52 65 | 63 50 74 72 3b 0d 09 56 |StatusRe|cPtr;..V|
|000027b0| 41 52 20 70 72 69 6e 74 | 65 72 41 64 64 72 3a 20 |AR print|erAddr: |
|000027c0| 41 64 64 72 42 6c 6f 63 | 6b 29 3a 20 4f 53 45 72 |AddrBloc|k): OSEr|
|000027d0| 72 3b 0d 70 72 69 6e 74 | 65 72 4e 61 6d 65 09 4c |r;.print|erName.L|
|000027e0| 6f 6e 67 77 6f 72 64 20 | 69 6e 70 75 74 20 70 6f |ongword |input po|
|000027f0| 69 6e 74 65 72 3a 20 41 | 20 70 6f 69 6e 74 65 72 |inter: A| pointer|
|00002800| 20 74 6f 20 74 68 65 20 | 70 61 63 6b 65 64 20 65 | to the |packed e|
|00002810| 6e 74 69 74 79 20 6e 61 | 6d 65 20 6f 66 20 61 20 |ntity na|me of a |
|00002820| 70 72 69 6e 74 65 72 20 | 6f 72 20 70 72 69 6e 74 |printer |or print|
|00002830| 20 73 65 72 76 65 72 2e | 0d 73 74 61 74 75 73 42 | server.|.statusB|
|00002840| 75 66 66 09 4c 6f 6e 67 | 77 6f 72 64 20 69 6e 70 |uff.Long|word inp|
|00002850| 75 74 20 70 6f 69 6e 74 | 65 72 3a 20 41 20 70 6f |ut point|er: A po|
|00002860| 69 6e 74 65 72 20 74 6f | 20 61 20 50 41 50 53 74 |inter to| a PAPSt|
|00002870| 61 74 75 73 52 65 63 2e | 0d 70 72 69 6e 74 65 72 |atusRec.|.printer|
|00002880| 41 64 64 72 09 4c 6f 6e | 67 77 6f 72 64 20 69 6e |Addr.Lon|gword in|
|00002890| 70 75 74 2f 72 65 73 75 | 6c 74 20 76 61 6c 75 65 |put/resu|lt value|
|000028a0| 3a 20 54 68 65 20 6e 65 | 74 77 6f 72 6b 20 61 64 |: The ne|twork ad|
|000028b0| 64 72 65 73 73 20 6f 66 | 20 74 68 65 20 70 72 69 |dress of| the pri|
|000028c0| 6e 74 65 72 20 69 66 20 | 6b 6e 6f 77 6e 2c 20 6f |nter if |known, o|
|000028d0| 74 68 65 72 77 69 73 65 | 20 7a 65 72 6f 2e 20 49 |therwise| zero. I|
|000028e0| 66 20 7a 65 72 6f 2c 20 | 74 68 65 20 61 64 64 72 |f zero, |the addr|
|000028f0| 65 73 73 20 6f 66 20 74 | 68 65 20 70 72 69 6e 74 |ess of t|he print|
|00002900| 65 72 20 77 69 6c 6c 20 | 62 65 20 72 65 74 75 72 |er will |be retur|
|00002910| 6e 65 64 2e 0d 50 41 50 | 53 74 61 74 75 73 20 69 |ned..PAP|Status i|
|00002920| 73 20 65 78 65 63 75 74 | 65 64 20 73 79 6e 63 68 |s execut|ed synch|
|00002930| 72 6f 6e 6f 75 73 6c 79 | 2e 20 50 41 50 53 74 61 |ronously|. PAPSta|
|00002940| 74 75 73 20 72 65 74 72 | 69 65 76 65 73 20 74 68 |tus retr|ieves th|
|00002950| 65 20 63 75 72 72 65 6e | 74 20 73 74 61 74 75 73 |e curren|t status|
|00002960| 20 73 74 72 69 6e 67 20 | 66 72 6f 6d 20 74 68 65 | string |from the|
|00002970| 20 70 72 69 6e 74 65 72 | 20 6f 72 20 70 72 69 6e | printer| or prin|
|00002980| 74 20 73 65 72 76 65 72 | 20 73 70 65 63 69 66 69 |t server| specifi|
|00002990| 65 64 20 62 79 20 70 72 | 69 6e 74 65 72 41 64 64 |ed by pr|interAdd|
|000029a0| 72 20 6f 72 20 70 72 69 | 6e 74 65 72 4e 61 6d 65 |r or pri|nterName|
|000029b0| 2e 20 20 49 66 20 70 72 | 69 6e 74 65 72 41 64 64 |. If pr|interAdd|
|000029c0| 72 20 69 73 20 6e 6f 6e | 2d 7a 65 72 6f 2c 20 50 |r is non|-zero, P|
|000029d0| 41 50 53 74 61 74 75 73 | 20 75 73 65 73 20 74 68 |APStatus| uses th|
|000029e0| 65 20 6e 65 74 77 6f 72 | 6b 20 61 64 64 72 65 73 |e networ|k addres|
|000029f0| 73 20 69 6e 20 70 72 69 | 6e 74 65 72 41 64 64 72 |s in pri|nterAddr|
|00002a00| 2e 20 4f 74 68 65 72 77 | 69 73 65 2c 20 50 41 50 |. Otherw|ise, PAP|
|00002a10| 53 74 61 74 75 73 20 66 | 69 6e 64 73 20 74 68 65 |Status f|inds the|
|00002a20| 20 70 72 69 6e 74 65 72 | 20 75 73 69 6e 67 20 74 | printer| using t|
|00002a30| 68 65 20 65 6e 74 69 74 | 79 20 6e 61 6d 65 20 70 |he entit|y name p|
|00002a40| 6f 69 6e 74 65 64 20 74 | 6f 20 62 79 20 70 72 69 |ointed t|o by pri|
|00002a50| 6e 74 65 72 4e 61 6d 65 | 2e 0d 50 41 50 53 74 61 |nterName|..PAPSta|
|00002a60| 74 75 73 20 63 61 6e 20 | 62 65 20 75 73 65 64 20 |tus can |be used |
|00002a70| 61 74 20 61 6e 79 20 74 | 69 6d 65 3b 20 61 6e 20 |at any t|ime; an |
|00002a80| 6f 70 65 6e 20 50 41 50 | 20 63 6f 6e 6e 65 63 74 |open PAP| connect|
|00002a90| 69 6f 6e 20 69 73 20 6e | 6f 74 20 6e 65 65 64 65 |ion is n|ot neede|
|00002aa0| 64 2e 0d 52 65 73 75 6c | 74 20 63 6f 64 65 73 0d |d..Resul|t codes.|
|00002ab0| 50 41 50 4e 6f 50 72 69 | 6e 74 65 72 09 2d 34 31 |PAPNoPri|nter.-41|
|00002ac0| 30 31 09 50 72 69 6e 74 | 65 72 20 6f 72 20 70 72 |01.Print|er or pr|
|00002ad0| 69 6e 74 20 73 65 72 76 | 65 72 20 6e 6f 74 20 66 |int serv|er not f|
|00002ae0| 6f 75 6e 64 0d 72 65 71 | 46 61 69 6c 65 64 09 2d |ound.req|Failed.-|
|00002af0| 31 30 39 36 09 52 65 74 | 72 79 20 63 6f 75 6e 74 |1096.Ret|ry count|
|00002b00| 20 65 78 63 65 65 64 65 | 64 0d 74 6f 6f 4d 61 6e | exceede|d.tooMan|
|00002b10| 79 52 65 71 73 09 2d 31 | 30 39 37 09 54 6f 6f 20 |yReqs.-1|097.Too |
|00002b20| 6d 61 6e 79 20 63 6f 6e | 63 75 72 72 65 6e 74 20 |many con|current |
|00002b30| 41 54 50 20 72 65 71 75 | 65 73 74 73 0d 6e 6f 44 |ATP requ|ests.noD|
|00002b40| 61 74 61 41 72 65 61 09 | 2d 31 31 30 34 09 54 6f |ataArea.|-1104.To|
|00002b50| 6f 20 6d 61 6e 79 20 6f | 75 74 73 74 61 6e 64 69 |o many o|utstandi|
|00002b60| 6e 67 20 41 54 50 20 63 | 61 6c 6c 73 0d 50 41 50 |ng ATP c|alls.PAP|
|00002b70| 55 6e 6c 6f 61 64 0d 59 | 6f 75 20 63 61 6e 20 75 |Unload.Y|ou can u|
|00002b80| 73 65 20 57 50 41 50 55 | 6e 6c 6f 61 64 20 74 6f |se WPAPU|nload to|
|00002b90| 20 72 65 6c 65 61 73 65 | 20 61 6e 79 20 6d 65 6d | release| any mem|
|00002ba0| 6f 72 79 20 61 6c 6c 6f | 63 61 74 65 64 20 62 79 |ory allo|cated by|
|00002bb0| 20 74 68 65 20 4d 61 63 | 69 6e 74 6f 73 68 20 50 | the Mac|intosh P|
|00002bc0| 41 50 20 43 6c 69 65 6e | 74 2e 0d 46 55 4e 43 54 |AP Clien|t..FUNCT|
|00002bd0| 49 4f 4e 20 57 50 41 50 | 55 6e 6c 6f 61 64 3a 20 |ION WPAP|Unload: |
|00002be0| 4f 53 45 72 72 3b 0d 57 | 50 41 50 55 6e 6c 6f 61 |OSErr;.W|PAPUnloa|
|00002bf0| 64 20 69 73 20 65 78 65 | 63 75 74 65 64 20 73 79 |d is exe|cuted sy|
|00002c00| 6e 63 68 72 6f 6e 6f 75 | 73 6c 79 2e 20 57 50 41 |nchronou|sly. WPA|
|00002c10| 50 55 6e 6c 6f 61 64 20 | 72 65 6c 65 61 73 65 73 |PUnload |releases|
|00002c20| 20 61 6e 79 20 6d 65 6d | 6f 72 79 20 61 6c 6c 6f | any mem|ory allo|
|00002c30| 63 61 74 65 64 20 62 79 | 20 74 68 65 20 4d 61 63 |cated by| the Mac|
|00002c40| 69 6e 74 6f 73 68 20 50 | 41 50 20 43 6c 69 65 6e |intosh P|AP Clien|
|00002c50| 74 2e 20 46 6f 72 20 65 | 78 61 6d 70 6c 65 2c 20 |t. For e|xample, |
|00002c60| 74 68 65 20 70 72 6f 67 | 72 61 6d 20 77 6f 75 6c |the prog|ram woul|
|00002c70| 64 20 63 61 6c 6c 20 57 | 50 41 50 55 6e 6c 6f 61 |d call W|PAPUnloa|
|00002c80| 64 20 62 65 66 6f 72 65 | 20 65 78 69 74 69 6e 67 |d before| exiting|
|00002c90| 20 74 6f 20 74 68 65 20 | 46 69 6e 64 65 72 2e 20 | to the |Finder. |
|00002ca0| 20 57 50 41 50 55 6e 6c | 6f 61 64 20 63 75 72 72 | WPAPUnl|oad curr|
|00002cb0| 65 6e 74 6c 79 20 61 6c | 77 61 79 73 20 72 65 74 |ently al|ways ret|
|00002cc0| 75 72 6e 73 20 61 20 72 | 65 73 75 6c 74 20 6f 66 |urns a r|esult of|
|00002cd0| 20 6e 6f 45 72 72 2e 0d | 4e 6f 74 65 3a 09 4f 6c | noErr..|Note:.Ol|
|00002ce0| 64 65 72 20 64 6f 63 75 | 6d 65 6e 74 61 74 69 6f |der docu|mentatio|
|00002cf0| 6e 20 66 6f 72 20 50 41 | 50 2e 57 72 6b 53 74 61 |n for PA|P.WrkSta|
|00002d00| 74 69 6f 6e 2e 6f 20 73 | 74 61 74 65 73 20 74 68 |tion.o s|tates th|
|00002d10| 61 74 20 57 50 41 50 55 | 6e 6c 6f 61 64 20 61 6c |at WPAPU|nload al|
|00002d20| 73 6f 20 63 6c 6f 73 65 | 73 20 61 6c 6c 20 6f 70 |so close|s all op|
|00002d30| 65 6e 20 6f 72 20 6f 70 | 65 6e 69 6e 67 20 63 6f |en or op|ening co|
|00002d40| 6e 6e 65 63 74 69 6f 6e | 73 20 50 41 50 20 63 6f |nnection|s PAP co|
|00002d50| 6e 6e 65 63 74 69 6f 6e | 73 2e 20 20 49 6e 73 74 |nnection|s. Inst|
|00002d60| 65 61 64 20 6f 66 20 75 | 73 69 6e 67 20 57 50 41 |ead of u|sing WPA|
|00002d70| 50 55 6e 6c 6f 61 64 20 | 66 6f 72 20 74 68 69 73 |PUnload |for this|
|00002d80| 20 70 75 72 70 6f 73 65 | 2c 20 79 6f 75 20 73 68 | purpose|, you sh|
|00002d90| 6f 75 6c 64 20 63 61 6c | 6c 20 57 50 41 50 43 6c |ould cal|l WPAPCl|
|00002da0| 6f 73 65 20 66 6f 72 20 | 65 61 63 68 20 6f 70 65 |ose for |each ope|
|00002db0| 6e 20 6f 72 20 6f 70 65 | 6e 69 6e 67 20 63 6f 6e |n or ope|ning con|
|00002dc0| 6e 65 63 74 69 6f 6e 2e | 0d 46 75 72 74 68 65 72 |nection.|.Further|
|00002dd0| 20 52 65 66 65 72 65 6e | 63 65 3a 0d a5 09 49 6e | Referen|ce:...In|
|00002de0| 73 69 64 65 20 41 70 70 | 6c 65 54 61 6c 6b 2c 20 |side App|leTalk, |
|00002df0| 53 65 63 6f 6e 64 20 45 | 64 69 74 69 6f 6e 2c 20 |Second E|dition, |
|00002e00| 43 68 61 70 74 65 72 20 | 31 30 2c 20 50 72 69 6e |Chapter |10, Prin|
|00002e10| 74 65 72 20 41 63 63 65 | 73 73 20 50 72 6f 74 6f |ter Acce|ss Proto|
|00002e20| 63 6f 6c 0d a5 09 50 6f | 73 74 53 63 72 69 70 74 |col...Po|stScript|
|00002e30| 20 4c 61 6e 67 75 61 67 | 65 20 52 65 66 65 72 65 | Languag|e Refere|
|00002e40| 6e 63 65 20 4d 61 6e 75 | 61 6c 2c 20 41 70 70 65 |nce Manu|al, Appe|
|00002e50| 6e 64 69 78 20 44 20 d2 | 41 70 70 6c 65 20 4c 61 |ndix D .|Apple La|
|00002e60| 73 65 72 57 72 69 74 65 | 72 d3 0d a5 09 49 6d 61 |serWrite|r....Ima|
|00002e70| 67 65 57 72 69 74 65 72 | 20 4c 51 20 52 65 66 65 |geWriter| LQ Refe|
|00002e80| 72 65 6e 63 65 2c 20 41 | 70 70 65 6e 64 69 78 20 |rence, A|ppendix |
|00002e90| 47 20 d2 49 6e 74 65 72 | 66 61 63 65 20 53 70 65 |G .Inter|face Spe|
|00002ea0| 63 69 66 69 63 61 74 69 | 6f 6e 73 2c 20 50 72 69 |cificati|ons, Pri|
|00002eb0| 6e 74 65 72 20 53 74 61 | 74 75 73 20 72 65 67 69 |nter Sta|tus regi|
|00002ec0| 73 74 65 72 d3 0d a5 09 | 54 65 63 68 6e 69 63 61 |ster....|Technica|
|00002ed0| 6c 20 4e 6f 74 65 20 4e | 57 20 32 30 20 2d 20 50 |l Note N|W 20 - P|
|00002ee0| 41 50 20 53 74 61 74 75 | 73 20 42 75 66 66 65 72 |AP Statu|s Buffer|
|00002ef0| 0d a5 09 d2 50 72 69 6e | 74 20 48 69 6e 74 73 3a |....Prin|t Hints:|
|00002f00| 20 4c 6f 6f 6b 69 6e 67 | 20 41 68 65 61 64 20 74 | Looking| Ahead t|
|00002f10| 6f 20 51 75 69 63 6b 44 | 72 61 77 20 47 58 d3 20 |o QuickD|raw GX. |
|00002f20| 62 79 20 50 65 74 65 20 | 28 d2 4c 75 6b 65 d3 29 |by Pete |(.Luke.)|
|00002f30| 20 41 6c 65 78 61 6e 64 | 65 72 2c 20 64 65 76 65 | Alexand|er, deve|
|00002f40| 6c 6f 70 20 49 73 73 75 | 65 20 31 33 0d a5 09 d2 |lop Issu|e 13....|
|00002f50| 50 6f 73 74 53 63 72 69 | 70 74 20 45 6e 68 61 6e |PostScri|pt Enhan|
|00002f60| 63 65 6d 65 6e 74 73 20 | 66 6f 72 20 74 68 65 20 |cements |for the |
|00002f70| 4c 61 73 65 72 57 72 69 | 74 65 72 20 46 6f 6e 74 |LaserWri|ter Font|
|00002f80| 20 55 74 69 6c 69 74 79 | d3 20 62 79 20 42 72 79 | Utility|. by Bry|
|00002f90| 61 6e 20 4b 2e 20 28 d2 | 42 65 61 6b 65 72 d3 29 |an K. (.|Beaker.)|
|00002fa0| 20 52 65 73 73 6c 65 72 | 2c 64 65 76 65 6c 6f 70 | Ressler|,develop|
|00002fb0| 20 49 73 73 75 65 20 31 | 30 2e 0d 0e 62 00 00 00 | Issue 1|0...b...|
|00002fc0| 00 03 48 02 52 00 11 02 | ff 0c 00 ff ff ff ff 00 |..H.R...|........|
|00002fd0| 00 00 00 00 00 00 00 02 | 52 00 00 03 48 00 00 00 |........|R...H...|
|00002fe0| 00 00 00 00 1e 00 01 00 | 0a 00 00 00 00 03 49 02 |........|......I.|
|00002ff0| 52 00 2c 00 08 00 14 05 | 54 69 6d 65 73 00 03 00 |R.,.....|Times...|
|00003000| 14 00 04 01 00 00 0d 00 | 12 00 2e 00 04 00 00 00 |........|........|
|00003010| 00 00 a1 00 64 00 10 4f | 4e 4c 4e 00 64 00 00 00 |....d..O|NLN.d...|
|00003020| 2f 00 5a 00 42 01 85 00 | 2b 5a 3d 22 54 68 65 20 |/.Z.B...|+Z="The |
|00003030| 4d 61 63 69 6e 74 6f 73 | 68 20 50 41 50 20 43 6c |Macintos|h PAP Cl|
|00003040| 69 65 6e 74 20 49 6e 74 | 65 72 66 61 63 65 00 00 |ient Int|erface..|
|00003050| 04 00 00 00 0d 00 0c 00 | 06 00 01 00 00 00 a1 00 |........|........|
|00003060| 64 00 10 4f 4e 4c 4e 00 | 64 00 23 00 4d 00 5a 00 |d..ONLN.|d.#.M.Z.|
|00003070| 59 00 73 00 2a 19 05 54 | 68 69 73 20 00 00 06 00 |Y.s.*..T|his ....|
|00003080| 02 00 00 00 a1 00 64 00 | 10 4f 4e 4c 4e 00 64 00 |......d.|.ONLN.d.|
|00003090| 28 00 4d 00 73 00 59 02 | 1c 00 29 19 51 64 6f 63 |(.M.s.Y.|..).Qdoc|
|000030a0| 75 6d 65 6e 74 20 64 69 | 73 63 75 73 73 65 73 20 |ument di|scusses |
|000030b0| 74 68 65 20 4d 61 63 69 | 6e 74 6f 73 68 20 50 41 |the Maci|ntosh PA|
|000030c0| 50 20 43 6c 69 65 6e 74 | 20 69 6d 70 6c 65 6d 65 |P Client| impleme|
|000030d0| 6e 74 61 74 69 6f 6e 20 | 69 6e 20 74 68 65 20 4d |ntation |in the M|
|000030e0| 50 57 20 6f 62 6a 65 63 | 74 20 66 69 6c 65 00 00 |PW objec|t file..|
|000030f0| 06 00 00 00 00 00 a1 00 | 64 00 10 4f 4e 4c 4e 00 |........|d..ONLN.|
|00003100| 64 00 7a 00 59 00 5a 00 | 65 00 c2 00 28 00 62 00 |d.z.Y.Z.|e...(.b.|
|00003110| 5a 13 d2 50 41 50 2e 57 | 72 6b 53 74 61 74 69 6f |Z..PAP.W|rkStatio|
|00003120| 6e 2e 6f d3 2e 00 20 00 | 71 00 58 00 71 02 1d 00 |n.o... .|q.X.q...|
|00003130| a1 00 64 00 10 4f 4e 4c | 4e 00 64 00 8e 00 7e 00 |..d..ONL|N.d...~.|
|00003140| 5a 00 8a 01 17 00 2a 25 | 25 4f 6e 20 74 68 65 20 |Z.....*%|%On the |
|00003150| 4d 61 63 69 6e 74 6f 73 | 68 2c 20 63 6f 6d 6d 75 |Macintos|h, commu|
|00003160| 6e 69 63 61 74 69 6f 6e | 20 77 69 74 68 20 00 00 |nication| with ..|
|00003170| 06 00 01 00 00 00 a1 00 | 64 00 10 4f 4e 4c 4e 00 |........|d..ONLN.|
|00003180| 64 00 b3 00 7e 01 17 00 | 8a 02 1c 00 29 bd 36 6e |d...~...|....).6n|
|00003190| 65 74 77 6f 72 6b 65 64 | 20 70 72 69 6e 74 65 72 |etworked| printer|
|000031a0| 73 20 61 6e 64 20 70 72 | 69 6e 74 20 73 65 72 76 |s and pr|int serv|
|000031b0| 65 72 73 20 69 73 20 67 | 65 6e 65 72 61 6c 6c 79 |ers is g|enerally|
|000031c0| 20 64 6f 6e 65 00 06 00 | 03 00 00 00 a1 00 64 00 | done...|......d.|
|000031d0| 10 4f 4e 4c 4e 00 64 00 | ea 00 8a 00 5a 00 96 00 |.ONLN.d.|....Z...|
|000031e0| ed 00 28 00 93 00 5a 1c | 74 68 72 6f 75 67 68 20 |..(...Z.|through |
|000031f0| 74 68 65 20 4d 61 63 69 | 6e 74 6f 73 68 20 50 72 |the Maci|ntosh Pr|
|00003200| 69 6e 74 20 00 00 06 00 | 04 00 00 00 a1 00 64 00 |int ....|......d.|
|00003210| 10 4f 4e 4c 4e 00 64 01 | 06 00 8a 00 ed 00 96 02 |.ONLN.d.|........|
|00003220| 1c 00 29 93 39 4d 61 6e | 61 67 65 72 20 61 6e 64 |..).9Man|ager and|
|00003230| 20 69 74 73 20 6e 65 74 | 77 6f 72 6b 20 70 72 69 | its net|work pri|
|00003240| 6e 74 65 72 20 64 72 69 | 76 65 72 73 20 28 66 6f |nter dri|vers (fo|
|00003250| 72 20 65 78 61 6d 70 6c | 65 2c 20 74 68 65 00 00 |r exampl|e, the..|
|00003260| 06 00 00 00 00 00 a1 00 | 64 00 10 4f 4e 4c 4e 00 |........|d..ONLN.|
|00003270| 64 01 40 00 96 00 5a 00 | a2 01 a9 00 28 00 9f 00 |d.@...Z.|....(...|
|00003280| 5a 45 4c 61 73 65 72 57 | 72 69 74 65 72 20 6f 72 |ZELaserW|riter or|
|00003290| 20 41 70 70 6c 65 54 61 | 6c 6b 20 49 6d 61 67 65 | AppleTa|lk Image|
|000032a0| 57 72 69 74 65 72 20 70 | 72 69 6e 74 65 72 20 64 |Writer p|rinter d|
|000032b0| 72 69 76 65 72 73 29 2e | 20 54 68 72 6f 75 67 68 |rivers).| Through|
|000032c0| 20 74 68 65 73 65 20 00 | 06 00 01 00 00 00 a1 00 | these .|........|
|000032d0| 64 00 10 4f 4e 4c 4e 00 | 64 01 85 00 96 01 a9 00 |d..ONLN.|d.......|
|000032e0| a2 02 1c 00 28 00 9f 01 | a9 1a 64 72 69 76 65 72 |....(...|..driver|
|000032f0| 73 2c 20 69 74 20 69 73 | 20 70 6f 73 73 69 62 6c |s, it is| possibl|
|00003300| 65 20 74 6f 00 00 06 00 | 00 00 00 00 a1 00 64 00 |e to....|......d.|
|00003310| 10 4f 4e 4c 4e 00 64 01 | a0 00 a2 00 5a 00 ae 01 |.ONLN.d.|....Z...|
|00003320| 9e 00 28 00 ab 00 5a 49 | 70 72 69 6e 74 20 74 65 |..(...ZI|print te|
|00003330| 78 74 20 61 6e 64 20 67 | 72 61 70 68 69 63 73 2e |xt and g|raphics.|
|00003340| 20 49 74 20 69 73 20 61 | 6c 73 6f 20 70 6f 73 73 | It is a|lso poss|
|00003350| 69 62 6c 65 20 74 6f 20 | 64 69 72 65 63 74 6c 79 |ible to |directly|
|00003360| 20 73 65 6e 64 20 50 6f | 73 74 53 63 72 69 70 74 | send Po|stScript|
|00003370| 20 00 06 00 01 00 00 00 | a1 00 64 00 10 4f 4e 4c | .......|..d..ONL|
|00003380| 4e 00 64 01 e9 00 a2 01 | 9e 00 ae 02 1c 00 28 00 |N.d.....|......(.|
|00003390| ab 01 9e 18 63 6f 6d 6d | 61 6e 64 73 20 61 6e 64 |....comm|ands and|
|000033a0| 20 64 61 74 61 20 74 6f | 20 74 68 65 00 00 06 00 | data to| the....|
|000033b0| 02 00 00 00 a1 00 64 00 | 10 4f 4e 4c 4e 00 64 02 |......d.|.ONLN.d.|
|000033c0| 02 00 ae 00 5a 00 ba 00 | 97 00 28 00 b7 00 5a 0c |....Z...|..(...Z.|
|000033d0| 4c 61 73 65 72 57 72 69 | 74 65 72 20 00 00 06 00 |LaserWri|ter ....|
|000033e0| 03 00 00 00 a1 00 64 00 | 10 4f 4e 4c 4e 00 64 02 |......d.|.ONLN.d.|
|000033f0| 0e 00 ae 00 97 00 ba 02 | 1c 00 29 3d 49 75 73 69 |........|..)=Iusi|
|00003400| 6e 67 20 50 69 63 43 6f | 6d 6d 65 6e 74 73 2e 20 |ng PicCo|mments. |
|00003410| 53 6f 20 67 65 6e 65 72 | 61 6c 6c 79 2c 20 69 74 |So gener|ally, it|
|00003420| 20 73 68 6f 75 6c 64 20 | 6e 6f 74 20 62 65 20 6e | should |not be n|
|00003430| 65 63 65 73 73 61 72 79 | 20 66 6f 72 20 4d 61 63 |ecessary| for Mac|
|00003440| 69 6e 74 6f 73 68 00 00 | a1 00 64 00 10 4f 4e 4c |intosh..|..d..ONL|
|00003450| 4e 00 64 02 58 00 ba 00 | 5a 00 c6 01 a2 00 28 00 |N.d.X...|Z.....(.|
|00003460| c3 00 5a 3e 64 65 76 65 | 6c 6f 70 65 72 73 20 74 |..Z>deve|lopers t|
|00003470| 6f 20 75 73 65 20 74 68 | 65 20 41 70 70 6c 65 54 |o use th|e AppleT|
|00003480| 61 6c 6b 20 50 72 69 6e | 74 65 72 20 41 63 63 65 |alk Prin|ter Acce|
|00003490| 73 73 20 50 72 6f 74 6f | 63 6f 6c 20 28 50 41 50 |ss Proto|col (PAP|
|000034a0| 29 20 00 00 06 00 04 00 | 00 00 a1 00 64 00 10 4f |) ......|....d..O|
|000034b0| 4e 4c 4e 00 64 02 96 00 | ba 01 a2 00 c6 02 1c 00 |NLN.d...|........|
|000034c0| 28 00 c3 01 a2 18 64 69 | 72 65 63 74 6c 79 20 74 |(.....di|rectly t|
|000034d0| 6f 20 73 65 6e 64 20 64 | 61 74 61 20 74 6f 00 00 |o send d|ata to..|
|000034e0| 06 00 00 00 00 00 a1 00 | 64 00 10 4f 4e 4c 4e 00 |........|d..ONLN.|
|000034f0| 64 02 af 00 c6 00 5a 00 | d2 00 ca 00 28 00 cf 00 |d.....Z.|....(...|
|00003500| 5a 17 6e 65 74 77 6f 72 | 6b 65 64 20 70 72 69 6e |Z.networ|ked prin|
|00003510| 74 65 72 73 20 61 6e 64 | 20 00 06 00 01 00 00 00 |ters and| .......|
|00003520| a1 00 64 00 10 4f 4e 4c | 4e 00 64 02 c6 00 c6 00 |..d..ONL|N.d.....|
|00003530| ca 00 d2 02 1c 00 29 70 | 43 70 72 69 6e 74 20 73 |......)p|Cprint s|
|00003540| 65 72 76 65 72 73 2e 20 | 48 6f 77 65 76 65 72 2c |ervers. |However,|
|00003550| 20 74 6f 20 63 61 72 72 | 79 20 6f 6e 20 61 20 74 | to carr|y on a t|
|00003560| 77 6f 2d 77 61 79 20 63 | 6f 6e 76 65 72 73 61 74 |wo-way c|onversat|
|00003570| 69 6f 6e 20 77 69 74 68 | 20 61 6e 79 00 00 06 00 |ion with| any....|
|00003580| 00 00 00 00 a1 00 64 00 | 10 4f 4e 4c 4e 00 64 03 |......d.|.ONLN.d.|
|00003590| 0a 00 d2 00 5a 00 de 01 | 4b 00 28 00 db 00 5a 32 |....Z...|K.(...Z2|
|000035a0| 6e 65 74 77 6f 72 6b 20 | 70 72 69 6e 74 65 72 20 |network |printer |
|000035b0| 6f 72 20 70 72 69 6e 74 | 20 73 65 72 76 65 72 2c |or print| server,|
|000035c0| 20 50 41 50 20 6d 75 73 | 74 20 62 65 20 75 73 65 | PAP mus|t be use|
|000035d0| 64 2e 00 00 04 01 00 00 | a1 00 64 00 10 4f 4e 4c |d.......|..d..ONL|
|000035e0| 4e 00 64 03 3d 00 ea 00 | 5a 00 f6 00 79 00 2a 18 |N.d.=...|Z...y.*.|
|000035f0| 05 4e 6f 74 65 3a 00 00 | 04 00 00 00 06 00 01 00 |.Note:..|........|
|00003600| 00 00 a1 00 64 00 10 4f | 4e 4c 4e 00 64 03 43 00 |....d..O|NLN.d.C.|
|00003610| ea 00 7e 00 f6 01 15 00 | 29 24 1b 54 77 6f 2d 77 |..~.....|)$.Two-w|
|00003620| 61 79 20 63 6f 6d 6d 75 | 6e 69 63 61 74 69 6f 6e |ay commu|nication|
|00003630| 20 77 69 74 68 20 00 00 | 06 00 02 00 00 00 a1 00 | with ..|........|
|00003640| 64 00 10 4f 4e 4c 4e 00 | 64 03 5e 00 ea 01 15 00 |d..ONLN.|d.^.....|
|00003650| f6 01 f8 00 29 97 2e 41 | 70 70 6c 65 d5 73 20 4c |....)..A|pple.s L|
|00003660| 61 73 65 72 57 72 69 74 | 65 72 20 70 72 69 6e 74 |aserWrit|er print|
|00003670| 65 72 73 20 69 73 20 70 | 6f 73 73 69 62 6c 65 20 |ers is p|ossible |
|00003680| 75 73 69 6e 67 00 06 00 | 00 00 00 00 a1 00 64 00 |using...|......d.|
|00003690| 10 4f 4e 4c 4e 00 64 03 | 8d 00 f6 00 7e 01 02 01 |.ONLN.d.|....~...|
|000036a0| 70 00 28 00 ff 00 7e 34 | 4c 61 73 65 72 57 72 69 |p.(...~4|LaserWri|
|000036b0| 74 65 72 20 46 6f 6e 74 | 20 55 74 69 6c 69 74 79 |ter Font| Utility|
|000036c0| 20 76 65 72 73 69 6f 6e | 20 37 2e 30 20 6f 72 20 | version| 7.0 or |
|000036d0| 67 72 65 61 74 65 72 20 | 61 6e 64 20 00 00 06 00 |greater |and ....|
|000036e0| 01 00 00 00 a1 00 64 00 | 10 4f 4e 4c 4e 00 64 03 |......d.|.ONLN.d.|
|000036f0| c1 00 f6 01 70 01 02 01 | f8 00 29 f2 1b 64 72 6f |....p...|..)..dro|
|00003700| 70 2d 69 6e 20 65 6e 68 | 61 6e 63 65 6d 65 6e 74 |p-in enh|ancement|
|00003710| 73 20 63 61 6c 6c 65 64 | 00 00 04 02 00 00 06 00 |s called|........|
|00003720| 00 00 00 00 a1 00 64 00 | 10 4f 4e 4c 4e 00 64 03 |......d.|.ONLN.d.|
|00003730| dd 01 02 00 7e 01 0e 00 | 9e 00 28 01 0b 00 7e 05 |....~...|..(...~.|
|00003740| 55 54 49 4c 73 00 04 00 | 00 00 a1 00 64 00 10 4f |UTILs...|....d..O|
|00003750| 4e 4c 4e 00 64 03 e2 01 | 02 00 9e 01 0e 01 1a 00 |NLN.d...|........|
|00003760| 29 20 1d 20 61 73 20 64 | 65 73 63 72 69 62 65 64 |) . as d|escribed|
|00003770| 20 69 6e 20 74 68 65 20 | 61 72 74 69 63 6c 65 20 | in the |article |
|00003780| 00 00 06 00 01 00 00 00 | a1 00 64 00 10 4f 4e 4c |........|..d..ONL|
|00003790| 4e 00 64 03 ff 01 02 01 | 1a 01 0e 01 f8 00 29 7c |N.d.....|......)||
|000037a0| 2c d2 50 6f 73 74 53 63 | 72 69 70 74 20 45 6e 68 |,.PostSc|ript Enh|
|000037b0| 61 6e 63 65 6d 65 6e 74 | 73 20 66 6f 72 20 74 68 |ancement|s for th|
|000037c0| 65 20 4c 61 73 65 72 57 | 72 69 74 65 72 00 06 00 |e LaserW|riter...|
|000037d0| 00 00 00 00 a1 00 64 00 | 10 4f 4e 4c 4e 00 64 04 |......d.|.ONLN.d.|
|000037e0| 2c 01 0e 00 7e 01 1a 01 | 64 00 28 01 17 00 7e 30 |,...~...|d.(...~0|
|000037f0| 46 6f 6e 74 20 55 74 69 | 6c 69 74 79 d3 20 62 79 |Font Uti|lity. by|
|00003800| 20 42 72 79 61 6e 20 4b | 2e 20 28 d2 42 65 61 6b | Bryan K|. (.Beak|
|00003810| 65 72 d3 29 20 52 65 73 | 73 6c 65 72 20 69 6e 20 |er.) Res|sler in |
|00003820| 00 00 04 02 00 00 a1 00 | 64 00 10 4f 4e 4c 4e 00 |........|d..ONLN.|
|00003830| 64 04 5c 01 0e 01 64 01 | 1a 01 89 00 29 e6 07 64 |d.\...d.|....)..d|
|00003840| 65 76 65 6c 6f 70 00 00 | 04 00 00 00 a1 00 64 00 |evelop..|......d.|
|00003850| 10 4f 4e 4c 4e 00 64 04 | 63 01 0e 01 89 01 1a 01 |.ONLN.d.|c.......|
|00003860| b8 00 29 25 0a 20 49 73 | 73 75 65 20 31 30 2e 00 |..)%. Is|sue 10..|
|00003870| 06 00 02 00 00 00 a1 00 | 64 00 10 4f 4e 4c 4e 00 |........|d..ONLN.|
|00003880| 64 04 6e 01 26 00 5a 01 | 32 01 93 00 28 01 2f 00 |d.n.&.Z.|2...(./.|
|00003890| 5a 3c 54 68 65 20 4d 61 | 63 69 6e 74 6f 73 68 20 |Z<The Ma|cintosh |
|000038a0| 50 41 50 20 63 6c 69 65 | 6e 74 20 69 73 20 63 6f |PAP clie|nt is co|
|000038b0| 6e 74 61 69 6e 65 64 20 | 69 6e 20 61 6e 20 4d 50 |ntained |in an MP|
|000038c0| 57 20 6f 62 6a 65 63 74 | 20 66 69 6c 65 20 00 00 |W object| file ..|
|000038d0| 06 00 03 00 00 00 a1 00 | 64 00 10 4f 4e 4c 4e 00 |........|d..ONLN.|
|000038e0| 64 04 aa 01 26 01 93 01 | 32 02 1c 00 28 01 2f 01 |d...&...|2...(./.|
|000038f0| 93 18 6e 61 6d 65 64 20 | d2 50 41 50 2e 57 72 6b |..named |.PAP.Wrk|
|00003900| 53 74 61 74 69 6f 6e 2e | 6f d3 00 00 06 00 00 00 |Station.|o.......|
|00003910| 00 00 a1 00 64 00 10 4f | 4e 4c 4e 00 64 04 c3 01 |....d..O|NLN.d...|
|00003920| 32 00 5a 01 3e 00 8d 00 | 28 01 3b 00 5a 0a 77 68 |2.Z.>...|(.;.Z.wh|
|00003930| 69 63 68 20 63 61 6e 20 | 00 00 06 00 01 00 00 00 |ich can |........|
|00003940| a1 00 64 00 10 4f 4e 4c | 4e 00 64 04 cd 01 32 00 |..d..ONL|N.d...2.|
|00003950| 8d 01 3e 02 1c 00 29 33 | 51 62 65 20 6c 69 6e 6b |..>...)3|Qbe link|
|00003960| 65 64 20 77 69 74 68 20 | 61 6e 20 61 70 70 6c 69 |ed with |an appli|
|00003970| 63 61 74 69 6f 6e 20 70 | 72 6f 67 72 61 6d 2e 20 |cation p|rogram. |
|00003980| 41 73 20 73 74 61 74 65 | 64 20 61 62 6f 76 65 2c |As state|d above,|
|00003990| 20 74 68 69 73 20 6f 62 | 6a 65 63 74 20 6d 6f 64 | this ob|ject mod|
|000039a0| 75 6c 65 20 73 68 6f 75 | 6c 64 00 00 06 00 02 00 |ule shou|ld......|
|000039b0| 00 00 a1 00 64 00 10 4f | 4e 4c 4e 00 64 05 1f 01 |....d..O|NLN.d...|
|000039c0| 3e 00 5a 01 4a 01 51 00 | 28 01 47 00 5a 2e 6f 6e |>.Z.J.Q.|(.G.Z.on|
|000039d0| 6c 79 20 62 65 20 75 73 | 65 64 20 77 68 65 6e 20 |ly be us|ed when |
|000039e0| 74 68 65 20 4d 61 63 69 | 6e 74 6f 73 68 20 50 72 |the Maci|ntosh Pr|
|000039f0| 69 6e 74 20 4d 61 6e 61 | 67 65 72 20 00 00 06 00 |int Mana|ger ....|
|00003a00| 03 00 00 00 a1 00 64 00 | 10 4f 4e 4c 4e 00 64 05 |......d.|.ONLN.d.|
|00003a10| 4d 01 3e 01 51 01 4a 02 | 1c 00 29 f7 28 69 73 20 |M.>.Q.J.|..).(is |
|00003a20| 69 6e 73 75 66 66 69 63 | 69 65 6e 74 20 66 6f 72 |insuffic|ient for|
|00003a30| 20 63 6f 6d 6d 75 6e 69 | 63 61 74 69 6e 67 20 77 | communi|cating w|
|00003a40| 69 74 68 20 61 00 a1 00 | 64 00 10 4f 4e 4c 4e 00 |ith a...|d..ONLN.|
|00003a50| 64 05 76 01 4a 00 5a 01 | 56 01 d1 00 28 01 53 00 |d.v.J.Z.|V...(.S.|
|00003a60| 5a 49 6e 65 74 77 6f 72 | 6b 20 70 72 69 6e 74 65 |ZInetwor|k printe|
|00003a70| 72 20 6f 72 20 70 72 69 | 6e 74 20 73 65 72 76 65 |r or pri|nt serve|
|00003a80| 72 2e 20 54 68 65 20 66 | 75 6e 63 74 69 6f 6e 73 |r. The f|unctions|
|00003a90| 20 69 6e 63 6c 75 64 65 | 64 20 69 6e 20 74 68 65 | include|d in the|
|00003aa0| 20 4d 61 63 69 6e 74 6f | 73 68 20 00 06 00 04 00 | Macinto|sh .....|
|00003ab0| 00 00 a1 00 64 00 10 4f | 4e 4c 4e 00 64 05 bf 01 |....d..O|NLN.d...|
|00003ac0| 4a 01 d1 01 56 02 1c 00 | 28 01 53 01 d1 0e 50 41 |J...V...|(.S...PA|
|00003ad0| 50 20 63 6c 69 65 6e 74 | 20 61 72 65 00 00 06 00 |P client| are....|
|00003ae0| 00 00 00 00 a1 00 64 00 | 10 4f 4e 4c 4e 00 64 05 |......d.|.ONLN.d.|
|00003af0| ce 01 56 00 5a 01 62 00 | dc 00 28 01 5f 00 5a 1b |..V.Z.b.|..(._.Z.|
|00003b00| 64 65 73 63 72 69 62 65 | 64 20 69 6e 20 74 68 69 |describe|d in thi|
|00003b10| 73 20 64 6f 63 75 6d 65 | 6e 74 2e 00 04 01 00 00 |s docume|nt......|
|00003b20| a1 00 64 00 10 4f 4e 4c | 4e 00 64 05 eb 01 6e 00 |..d..ONL|N.d...n.|
|00003b30| 5a 01 7a 00 79 00 2a 18 | 05 4e 6f 74 65 3a 00 00 |Z.z.y.*.|.Note:..|
|00003b40| 04 00 00 00 a1 00 64 00 | 10 4f 4e 4c 4e 00 64 05 |......d.|.ONLN.d.|
|00003b50| f1 01 6e 00 7e 01 7a 01 | 5b 00 29 24 2f 41 6e 79 |..n.~.z.|[.)$/Any|
|00003b60| 20 74 68 69 72 64 2d 70 | 61 72 74 79 20 73 6f 66 | third-p|arty sof|
|00003b70| 74 77 61 72 65 20 70 72 | 6f 67 72 61 6d 20 74 68 |tware pr|ogram th|
|00003b80| 61 74 20 75 73 65 73 20 | 61 6c 6c 20 00 00 06 00 |at uses |all ....|
|00003b90| 01 00 00 00 a1 00 64 00 | 10 4f 4e 4c 4e 00 64 06 |......d.|.ONLN.d.|
|00003ba0| 20 01 6e 01 5b 01 7a 01 | f8 00 29 dd 21 6f 72 20 | .n.[.z.|..).!or |
|00003bb0| 70 61 72 74 20 6f 66 20 | 74 68 65 20 66 75 6e 63 |part of |the func|
|00003bc0| 74 69 6f 6e 73 20 66 6f | 75 6e 64 20 69 6e 00 00 |tions fo|und in..|
|00003bd0| 06 00 06 00 00 00 a1 00 | 64 00 10 4f 4e 4c 4e 00 |........|d..ONLN.|
|00003be0| 64 06 42 01 7a 00 7e 01 | 86 01 01 00 28 01 83 00 |d.B.z.~.|....(...|
|00003bf0| 7e 16 50 41 50 2e 57 72 | 6b 53 74 61 74 69 6f 6e |~.PAP.Wr|kStation|
|00003c00| 2e 6f 20 6d 75 73 74 20 | 00 00 06 00 07 00 00 00 |.o must |........|
|00003c10| a1 00 64 00 10 4f 4e 4c | 4e 00 64 06 58 01 7a 01 |..d..ONL|N.d.X.z.|
|00003c20| 01 01 86 01 f8 00 29 83 | 2a 62 65 20 6c 69 63 65 |......).|*be lice|
|00003c30| 6e 73 65 64 20 77 69 74 | 68 20 41 70 70 6c 65 20 |nsed wit|h Apple |
|00003c40| 43 6f 6d 70 75 74 65 72 | d5 73 20 53 6f 66 74 77 |Computer|.s Softw|
|00003c50| 61 72 65 00 06 00 00 00 | 00 00 a1 00 64 00 10 4f |are.....|....d..O|
|00003c60| 4e 4c 4e 00 64 06 83 01 | 86 00 7e 01 92 01 ab 00 |NLN.d...|..~.....|
|00003c70| 28 01 8f 00 7e 3f 4c 69 | 63 65 6e 73 69 6e 67 20 |(...~?Li|censing |
|00003c80| 64 65 70 61 72 74 6d 65 | 6e 74 2e 20 20 46 6f 72 |departme|nt. For|
|00003c90| 20 6d 6f 72 65 20 6c 69 | 63 65 6e 73 69 6e 67 20 | more li|censing |
|00003ca0| 69 6e 66 6f 72 6d 61 74 | 69 6f 6e 2c 20 63 6f 6e |informat|ion, con|
|00003cb0| 74 61 63 74 3a 00 a1 00 | 64 00 10 4f 4e 4c 4e 00 |tact:...|d..ONLN.|
|00003cc0| 64 06 c6 01 9e 00 c6 01 | aa 01 22 00 2b 48 18 12 |d.......|..".+H..|
|00003cd0| 53 6f 66 74 77 61 72 65 | 20 4c 69 63 65 6e 73 69 |Software| Licensi|
|00003ce0| 6e 67 00 00 a1 00 64 00 | 10 4f 4e 4c 4e 00 64 06 |ng....d.|.ONLN.d.|
|00003cf0| dc 01 aa 00 c6 01 b6 01 | 2e 00 2a 0c 14 41 70 70 |........|..*..App|
|00003d00| 6c 65 20 43 6f 6d 70 75 | 74 65 72 2c 20 49 6e 63 |le Compu|ter, Inc|
|00003d10| 2e 00 a1 00 64 00 10 4f | 4e 4c 4e 00 64 06 f4 01 |....d..O|NLN.d...|
|00003d20| b6 00 c6 01 c2 01 7f 00 | 2a 0c 22 32 34 32 30 20 |........|*."2420 |
|00003d30| 52 69 64 67 65 70 6f 69 | 6e 74 20 44 72 69 76 65 |Ridgepoi|nt Drive|
|00003d40| 2c 20 4d 53 3a 20 31 39 | 38 2d 53 57 4c 00 a1 00 |, MS: 19|8-SWL...|
|00003d50| 64 00 10 4f 4e 4c 4e 00 | 64 07 1a 01 c2 00 c6 01 |d..ONLN.|d.......|
|00003d60| ce 01 20 00 2a 0c 11 41 | 75 73 74 69 6e 2c 20 54 |.. .*..A|ustin, T|
|00003d70| 58 20 20 37 38 37 35 34 | 00 00 a1 00 64 00 10 4f |X 78754|....d..O|
|00003d80| 4e 4c 4e 00 64 07 2f 01 | ce 00 c6 01 da 01 11 00 |NLN.d./.|........|
|00003d90| 2a 0c 0e 28 35 31 32 29 | 20 39 31 39 2d 32 36 34 |*..(512)| 919-264|
|00003da0| 35 00 a1 00 64 00 10 4f | 4e 4c 4e 00 64 07 41 01 |5...d..O|NLN.d.A.|
|00003db0| da 00 c6 01 e6 01 45 00 | 2a 0c 15 41 70 70 6c 65 |......E.|*..Apple|
|00003dc0| 4c 69 6e 6b 3a 20 53 57 | 2e 4c 49 43 45 4e 53 45 |Link: SW|.LICENSE|
|00003dd0| 00 00 20 02 d7 00 58 02 | d7 02 1d 00 0d 00 0a 00 |.. ...X.|........|
|00003de0| 28 02 ec 00 5a 22 54 68 | 65 20 4d 61 63 69 6e 74 |(...Z"Th|e Macint|
|00003df0| 6f 73 68 20 50 41 50 20 | 43 6c 69 65 6e 74 20 49 |osh PAP |Client I|
|00003e00| 6e 74 65 72 66 61 63 65 | 00 00 28 02 ec 02 04 01 |nterface|..(.....|
|00003e10| 31 00 29 05 05 20 6f 66 | 20 37 00 00 ff 14 34 00 |1.).. of| 7....4.|
|00003e20| 00 00 00 03 48 02 52 00 | 11 02 ff 0c 00 ff ff ff |....H.R.|........|
|00003e30| ff 00 00 00 00 00 00 00 | 00 02 52 00 00 03 48 00 |........|..R...H.|
|00003e40| 00 00 00 00 00 00 1e 00 | 01 00 0a 00 00 00 00 03 |........|........|
|00003e50| 49 02 52 00 2c 00 08 00 | 14 05 54 69 6d 65 73 00 |I.R.,...|..Times.|
|00003e60| 03 00 14 00 0d 00 0a 00 | 2e 00 04 00 00 00 00 00 |........|........|
|00003e70| 2b 36 2d 0d 44 65 63 65 | 6d 62 65 72 20 31 39 39 |+6-.Dece|mber 199|
|00003e80| 34 00 20 00 2f 00 34 00 | 2f 01 f9 00 04 01 00 00 |4. ./.4.|/.......|
|00003e90| 0d 00 0e 00 a1 00 64 00 | 10 4f 4e 4c 4e 00 64 00 |......d.|.ONLN.d.|
|00003ea0| 00 00 3c 00 36 00 4b 00 | bf 00 2a 1b 13 50 41 50 |..<.6.K.|..*..PAP|
|00003eb0| 20 44 61 74 61 20 53 74 | 72 75 63 74 75 72 65 73 | Data St|ructures|
|00003ec0| 00 00 04 00 00 00 0d 00 | 0c 00 a1 00 64 00 10 4f |........|....d..O|
|00003ed0| 4e 4c 4e 00 64 00 14 00 | 57 00 36 00 63 01 c8 00 |NLN.d...|W.6.c...|
|00003ee0| 2a 18 54 54 68 65 20 66 | 75 6e 63 74 69 6f 6e 73 |*.TThe f|unctions|
|00003ef0| 20 69 6e 20 74 68 65 20 | 4d 61 63 69 6e 74 6f 73 | in the |Macintos|
|00003f00| 68 20 50 41 50 20 57 6f | 72 6b 73 74 61 74 69 6f |h PAP Wo|rkstatio|
|00003f10| 6e 20 49 6e 74 65 72 66 | 61 63 65 20 75 73 65 20 |n Interf|ace use |
|00003f20| 6f 6e 65 20 64 61 74 61 | 20 73 74 72 75 63 74 75 |one data| structu|
|00003f30| 72 65 20 6e 6f 74 20 00 | 06 00 01 00 00 00 a1 00 |re not .|........|
|00003f40| 64 00 10 4f 4e 4c 4e 00 | 64 00 68 00 57 01 c8 00 |d..ONLN.|d.h.W...|
|00003f50| 63 01 f8 00 28 00 60 01 | c8 0a 64 65 66 69 6e 65 |c...(.`.|..define|
|00003f60| 64 20 69 6e 00 00 06 00 | 00 00 00 00 a1 00 64 00 |d in....|......d.|
|00003f70| 10 4f 4e 4c 4e 00 64 00 | 73 00 63 00 36 00 6f 01 |.ONLN.d.|s.c.6.o.|
|00003f80| 44 00 28 00 6c 00 36 39 | 74 68 65 20 73 74 61 6e |D.(.l.69|the stan|
|00003f90| 64 61 72 64 20 4d 50 57 | 20 69 6e 74 65 72 66 61 |dard MPW| interfa|
|00003fa0| 63 65 20 66 69 6c 65 73 | 2c 20 74 68 65 20 50 41 |ce files|, the PA|
|00003fb0| 50 20 73 74 61 74 75 73 | 20 72 65 63 6f 72 64 2e |P status| record.|
|00003fc0| 20 00 06 00 01 00 00 00 | a1 00 64 00 10 4f 4e 4c | .......|..d..ONL|
|00003fd0| 4e 00 64 00 ac 00 63 01 | 44 00 6f 01 f8 00 28 00 |N.d...c.|D.o...(.|
|00003fe0| 6c 01 44 24 20 54 68 65 | 20 50 41 50 20 73 74 61 |l.D$ The| PAP sta|
|00003ff0| 74 75 73 20 72 65 63 6f | 72 64 20 69 73 20 64 65 |tus reco|rd is de|
|00004000| 66 69 6e 65 64 20 62 79 | 00 00 06 00 00 00 00 00 |fined by|........|
|00004010| a1 00 64 00 10 4f 4e 4c | 4e 00 64 00 d1 00 70 00 |..d..ONL|N.d...p.|
|00004020| 36 00 7c 00 47 00 28 00 | 79 00 36 04 74 68 65 20 |6.|.G.(.|y.6.the |
|00004030| 00 00 2c 00 0a 00 16 07 | 43 6f 75 72 69 65 72 00 |..,.....|Courier.|
|00004040| 03 00 16 00 a1 00 64 00 | 10 4f 4e 4c 4e 00 64 00 |......d.|.ONLN.d.|
|00004050| d5 00 6f 00 47 00 7b 00 | 9b 00 29 11 0c 50 41 50 |..o.G.{.|..)..PAP|
|00004060| 53 74 61 74 75 73 52 65 | 63 00 03 00 14 00 a1 00 |StatusRe|c.......|
|00004070| 64 00 10 4f 4e 4c 4e 00 | 64 00 e1 00 70 00 9b 00 |d..ONLN.|d...p...|
|00004080| 7c 00 cc 00 29 54 0b 20 | 64 61 74 61 20 74 79 70 ||...)T. |data typ|
|00004090| 65 2e 00 00 03 00 16 00 | 0d 00 09 00 a1 00 64 00 |e.......|......d.|
|000040a0| 10 4f 4e 4c 4e 00 64 00 | ed 00 88 00 36 00 93 00 |.ONLN.d.|....6...|
|000040b0| 5e 00 28 00 90 00 36 08 | 20 20 20 20 54 59 50 45 |^.(...6.| TYPE|
|000040c0| 00 00 a1 00 64 00 10 4f | 4e 4c 4e 00 64 00 f6 00 |....d..O|NLN.d...|
|000040d0| 92 00 36 00 9d 00 f9 00 | 2a 0a 27 20 20 20 20 20 |..6.....|*.' |
|000040e0| 20 20 50 41 50 53 74 61 | 74 75 73 52 65 63 50 74 | PAPSta|tusRecPt|
|000040f0| 72 20 3d 20 5e 50 41 50 | 53 74 61 74 75 73 52 65 |r = ^PAP|StatusRe|
|00004100| 63 3b 00 00 a1 00 64 00 | 10 4f 4e 4c 4e 00 64 01 |c;....d.|.ONLN.d.|
|00004110| 1e 00 9c 00 36 00 a7 00 | c2 00 2a 0a 1c 20 20 20 |....6...|..*.. |
|00004120| 20 20 20 20 50 41 50 53 | 74 61 74 75 73 52 65 63 | PAPS|tatusRec|
|00004130| 20 3d 20 52 45 43 4f 52 | 44 00 a1 00 64 00 10 4f | = RECOR|D...d..O|
|00004140| 4e 4c 4e 00 64 01 3b 00 | a6 00 36 00 b1 01 85 00 |NLN.d.;.|..6.....|
|00004150| 2a 0a 43 20 20 20 20 20 | 20 20 20 20 20 70 61 70 |*.C | pap|
|00004160| 53 6f 63 6b 65 74 3a 20 | 53 69 67 6e 65 64 42 79 |Socket: |SignedBy|
|00004170| 74 65 3b 20 20 20 7b 50 | 41 50 4f 70 65 6e 3a 20 |te; {P|APOpen: |
|00004180| 41 54 50 20 72 65 73 70 | 6f 6e 64 69 6e 67 20 73 |ATP resp|onding s|
|00004190| 6f 63 6b 65 74 7d 00 00 | a1 00 64 00 10 4f 4e 4c |ocket}..|..d..ONL|
|000041a0| 4e 00 64 01 7f 00 b0 00 | 36 00 bb 01 58 00 2a 0a |N.d.....|6...X.*.|
|000041b0| 3a 20 20 20 20 20 20 20 | 20 20 20 70 61 70 46 6c |: | papFl|
|000041c0| 6f 77 3a 20 20 20 53 69 | 67 6e 65 64 42 79 74 65 |ow: Si|gnedByte|
|000041d0| 3b 20 20 20 7b 50 41 50 | 4f 70 65 6e 3a 20 46 6c |; {PAP|Open: Fl|
|000041e0| 6f 77 20 71 75 61 6e 74 | 75 6d 7d 00 a1 00 64 00 |ow quant|um}...d.|
|000041f0| 10 4f 4e 4c 4e 00 64 01 | ba 00 ba 00 36 00 c5 01 |.ONLN.d.|....6...|
|00004200| 3a 00 2a 0a 34 20 20 20 | 20 20 20 20 20 20 20 70 |:.*.4 | p|
|00004210| 61 70 52 65 73 75 6c 74 | 3a 20 49 6e 74 65 67 65 |apResult|: Intege|
|00004220| 72 3b 20 20 20 20 20 20 | 7b 50 41 50 4f 70 65 6e |r; |{PAPOpen|
|00004230| 3a 20 72 65 73 75 6c 74 | 7d 00 a1 00 64 00 10 4f |: result|}...d..O|
|00004240| 4e 4c 4e 00 64 01 ef 00 | c4 00 36 00 cf 01 30 00 |NLN.d...|..6...0.|
|00004250| 2a 0a 32 20 20 20 20 20 | 20 20 20 20 20 73 74 61 |*.2 | sta|
|00004260| 74 75 73 53 74 72 3a 20 | 53 54 52 32 35 35 3b 20 |tusStr: |STR255; |
|00004270| 20 20 20 20 20 20 7b 73 | 74 61 74 75 73 20 73 74 | {s|tatus st|
|00004280| 72 69 6e 67 7d 00 a1 00 | 64 00 10 4f 4e 4c 4e 00 |ring}...|d..ONLN.|
|00004290| 64 02 22 00 ce 00 36 00 | d9 00 6d 00 2a 0a 0b 20 |d."...6.|..m.*.. |
|000042a0| 20 20 20 20 20 20 45 4e | 44 3b 00 00 03 00 14 00 | EN|D;......|
|000042b0| 0d 00 0c 00 06 00 01 00 | 00 00 a1 00 64 00 10 4f |........|....d..O|
|000042c0| 4e 4c 4e 00 64 02 2e 00 | e5 00 36 00 f1 00 a9 00 |NLN.d...|..6.....|
|000042d0| 2a 18 1a 54 68 65 20 66 | 69 72 73 74 20 74 68 72 |*..The f|irst thr|
|000042e0| 65 65 20 66 69 65 6c 64 | 73 20 69 6e 20 00 06 00 |ee field|s in ...|
|000042f0| 02 00 00 00 a1 00 64 00 | 10 4f 4e 4c 4e 00 64 02 |......d.|.ONLN.d.|
|00004300| 48 00 e5 00 a9 00 f1 00 | bc 00 29 73 04 74 68 65 |H.......|..)s.the|
|00004310| 20 00 03 00 16 00 a1 00 | 64 00 10 4f 4e 4c 4e 00 | .......|d..ONLN.|
|00004320| 64 02 4c 00 e4 00 bc 00 | f0 01 10 00 29 13 0c 50 |d.L.....|....)..P|
|00004330| 41 50 53 74 61 74 75 73 | 52 65 63 00 03 00 14 00 |APStatus|Rec.....|
|00004340| a1 00 64 00 10 4f 4e 4c | 4e 00 64 02 58 00 e5 01 |..d..ONL|N.d.X...|
|00004350| 10 00 f1 01 a2 00 29 54 | 1d 20 72 65 63 6f 72 64 |......)T|. record|
|00004360| 20 61 72 65 20 72 65 74 | 75 72 6e 65 64 20 6f 6e | are ret|urned on|
|00004370| 6c 79 20 62 79 20 00 00 | 03 00 16 00 a1 00 64 00 |ly by ..|......d.|
|00004380| 10 4f 4e 4c 4e 00 64 02 | 75 00 e4 01 a2 00 f0 01 |.ONLN.d.|u.......|
|00004390| d3 00 29 92 07 50 41 50 | 4f 70 65 6e 00 00 03 00 |..)..PAP|Open....|
|000043a0| 14 00 a1 00 64 00 10 4f | 4e 4c 4e 00 64 02 7c 00 |....d..O|NLN.d.|.|
|000043b0| e5 01 d3 00 f1 01 f8 00 | 29 31 06 2e 20 57 68 65 |........|)1.. Whe|
|000043c0| 6e 00 03 00 16 00 06 00 | 00 00 00 00 a1 00 64 00 |n.......|......d.|
|000043d0| 10 4f 4e 4c 4e 00 64 02 | 83 00 f1 00 36 00 fd 00 |.ONLN.d.|....6...|
|000043e0| 67 00 28 00 fb 00 36 07 | 50 41 50 4f 70 65 6e 00 |g.(...6.|PAPOpen.|
|000043f0| 03 00 14 00 a1 00 64 00 | 10 4f 4e 4c 4e 00 64 02 |......d.|.ONLN.d.|
|00004400| 8a 00 f2 00 67 00 fe 01 | 02 00 29 31 21 20 68 61 |....g...|..)1! ha|
|00004410| 73 20 63 6f 6d 70 6c 65 | 74 65 64 20 73 75 63 63 |s comple|ted succ|
|00004420| 65 73 73 66 75 6c 6c 79 | 2c 20 74 68 65 20 00 00 |essfully|, the ..|
|00004430| 03 00 16 00 a1 00 64 00 | 10 4f 4e 4c 4e 00 64 02 |......d.|.ONLN.d.|
|00004440| ab 00 f1 01 02 00 fd 01 | 41 00 29 9b 09 70 61 70 |........|A.)..pap|
|00004450| 53 6f 63 6b 65 74 00 00 | 03 00 14 00 a1 00 64 00 |Socket..|......d.|
|00004460| 10 4f 4e 4c 4e 00 64 02 | b4 00 f2 01 41 00 fe 01 |.ONLN.d.|....A...|
|00004470| 71 00 29 3f 0c 20 66 69 | 65 6c 64 20 77 69 6c 6c |q.)?. fi|eld will|
|00004480| 20 00 06 00 01 00 00 00 | a1 00 64 00 10 4f 4e 4c | .......|..d..ONL|
|00004490| 4e 00 64 02 c0 00 f2 01 | 71 00 fe 01 f8 00 29 30 |N.d.....|q.....)0|
|000044a0| 1a 63 6f 6e 74 61 69 6e | 20 74 68 65 20 41 54 50 |.contain| the ATP|
|000044b0| 20 72 65 73 70 6f 6e 64 | 69 6e 67 00 06 00 00 00 | respond|ing.....|
|000044c0| 00 00 a1 00 64 00 10 4f | 4e 4c 4e 00 64 02 db 00 |....d..O|NLN.d...|
|000044d0| ff 00 36 01 0b 00 57 00 | 28 01 08 00 36 07 73 6f |..6...W.|(...6.so|
|000044e0| 63 6b 65 74 20 00 06 00 | 01 00 00 00 a1 00 64 00 |cket ...|......d.|
|000044f0| 10 4f 4e 4c 4e 00 64 02 | e2 00 ff 00 57 01 0b 00 |.ONLN.d.|....W...|
|00004500| f9 00 29 21 24 6f 66 20 | 74 68 65 20 70 72 69 6e |..)!$of |the prin|
|00004510| 74 65 72 20 6f 72 20 70 | 72 69 6e 74 20 73 65 72 |ter or p|rint ser|
|00004520| 76 65 72 2c 20 74 68 65 | 20 00 03 00 16 00 a1 00 |ver, the| .......|
|00004530| 64 00 10 4f 4e 4c 4e 00 | 64 03 06 00 fe 00 f9 01 |d..ONLN.|d.......|
|00004540| 0a 01 2a 00 29 a2 07 70 | 61 70 46 6c 6f 77 00 00 |..*.)..p|apFlow..|
|00004550| 03 00 14 00 a1 00 64 00 | 10 4f 4e 4c 4e 00 64 03 |......d.|.ONLN.d.|
|00004560| 0d 00 ff 01 2a 01 0b 01 | f8 00 29 31 2b 20 66 69 |....*...|..)1+ fi|
|00004570| 65 6c 64 20 77 69 6c 6c | 20 63 6f 6e 74 61 69 6e |eld will| contain|
|00004580| 20 74 68 65 20 66 6c 6f | 77 20 71 75 61 6e 74 75 | the flo|w quantu|
|00004590| 6d 20 6f 66 20 74 68 65 | 00 00 06 00 03 00 00 00 |m of the|........|
|000045a0| a1 00 64 00 10 4f 4e 4c | 4e 00 64 03 39 01 0c 00 |..d..ONL|N.d.9...|
|000045b0| 36 01 18 00 d9 00 28 01 | 15 00 36 21 70 72 69 6e |6.....(.|..6!prin|
|000045c0| 74 65 72 20 6f 72 20 70 | 72 69 6e 74 20 73 65 72 |ter or p|rint ser|
|000045d0| 76 65 72 2c 20 61 6e 64 | 20 74 68 65 20 00 03 00 |ver, and| the ...|
|000045e0| 16 00 06 00 04 00 00 00 | a1 00 64 00 10 4f 4e 4c |........|..d..ONL|
|000045f0| 4e 00 64 03 5a 01 0b 00 | d9 01 17 01 18 00 29 a3 |N.d.Z...|......).|
|00004600| 09 70 61 70 52 65 73 75 | 6c 74 00 00 03 00 14 00 |.papResu|lt......|
|00004610| a1 00 64 00 10 4f 4e 4c | 4e 00 64 03 63 01 0c 01 |..d..ONL|N.d.c...|
|00004620| 18 01 18 01 f8 00 29 3f | 2b 20 66 69 65 6c 64 20 |......)?|+ field |
|00004630| 77 69 6c 6c 20 63 6f 6e | 74 61 69 6e 20 7a 65 72 |will con|tain zer|
|00004640| 6f 20 69 6e 64 69 63 61 | 74 69 6e 67 20 74 68 65 |o indica|ting the|
|00004650| 20 50 41 50 00 00 06 00 | 00 00 00 00 a1 00 64 00 | PAP....|......d.|
|00004660| 10 4f 4e 4c 4e 00 64 03 | 8f 01 18 00 36 01 24 00 |.ONLN.d.|....6.$.|
|00004670| 92 00 28 01 21 00 36 13 | 63 6f 6e 6e 65 63 74 69 |..(.!.6.|connecti|
|00004680| 6f 6e 20 69 73 20 6f 70 | 65 6e 2e 00 a1 00 64 00 |on is op|en....d.|
|00004690| 10 4f 4e 4c 4e 00 64 03 | a3 01 31 00 36 01 3d 00 |.ONLN.d.|..1.6.=.|
|000046a0| 4b 00 2a 19 04 54 68 65 | 20 00 03 00 16 00 a1 00 |K.*..The| .......|
|000046b0| 64 00 10 4f 4e 4c 4e 00 | 64 03 a7 01 30 00 4b 01 |d..ONLN.|d...0.K.|
|000046c0| 3c 00 8a 00 29 15 09 73 | 74 61 74 75 73 53 74 72 |<...)..s|tatusStr|
|000046d0| 00 00 03 00 14 00 a1 00 | 64 00 10 4f 4e 4c 4e 00 |........|d..ONLN.|
|000046e0| 64 03 b0 01 31 00 8a 01 | 3d 00 c3 00 29 3f 0e 20 |d...1...|=...)?. |
|000046f0| 66 69 65 6c 64 20 6f 66 | 20 74 68 65 20 00 03 00 |field of| the ...|
|00004700| 16 00 a1 00 64 00 10 4f | 4e 4c 4e 00 64 03 be 01 |....d..O|NLN.d...|
|00004710| 30 00 c3 01 3c 01 17 00 | 29 39 0c 50 41 50 53 74 |0...<...|)9.PAPSt|
|00004720| 61 74 75 73 52 65 63 00 | 03 00 14 00 a1 00 64 00 |atusRec.|......d.|
|00004730| 10 4f 4e 4c 4e 00 64 03 | ca 01 31 01 17 01 3d 01 |.ONLN.d.|..1...=.|
|00004740| 1a 00 29 54 01 20 00 00 | 06 00 01 00 00 00 a1 00 |..)T. ..|........|
|00004750| 64 00 10 4f 4e 4c 4e 00 | 64 03 cb 01 31 01 1a 01 |d..ONLN.|d...1...|
|00004760| 3d 01 f8 00 29 03 2e 72 | 65 63 6f 72 64 20 63 6f |=...)..r|ecord co|
|00004770| 6e 74 61 69 6e 73 20 73 | 74 61 74 75 73 20 69 6e |ntains s|tatus in|
|00004780| 66 6f 72 6d 61 74 69 6f | 6e 20 72 65 74 75 72 6e |formatio|n return|
|00004790| 65 64 20 62 79 00 06 00 | 02 00 00 00 a1 00 64 00 |ed by...|......d.|
|000047a0| 10 4f 4e 4c 4e 00 64 03 | fa 01 3e 00 36 01 4a 00 |.ONLN.d.|..>.6.J.|
|000047b0| 49 00 28 01 47 00 36 04 | 74 68 65 20 00 00 06 00 |I.(.G.6.|the ....|
|000047c0| 03 00 00 00 a1 00 64 00 | 10 4f 4e 4c 4e 00 64 03 |......d.|.ONLN.d.|
|000047d0| fe 01 3e 00 49 01 4a 00 | e0 00 29 13 1f 70 72 69 |..>.I.J.|..)..pri|
|000047e0| 6e 74 65 72 20 6f 72 20 | 70 72 69 6e 74 20 73 65 |nter or |print se|
|000047f0| 72 76 65 72 20 74 6f 20 | 74 68 65 20 00 00 03 00 |rver to |the ....|
|00004800| 16 00 a1 00 64 00 10 4f | 4e 4c 4e 00 64 04 1d 01 |....d..O|NLN.d...|
|00004810| 3d 00 e0 01 49 01 11 00 | 29 97 07 50 41 50 4f 70 |=...I...|)..PAPOp|
|00004820| 65 6e 00 00 03 00 14 00 | a1 00 64 00 10 4f 4e 4c |en......|..d..ONL|
|00004830| 4e 00 64 04 24 01 3e 01 | 11 01 4a 01 2e 00 29 31 |N.d.$.>.|..J...)1|
|00004840| 05 20 61 6e 64 20 00 00 | 03 00 16 00 a1 00 64 00 |. and ..|......d.|
|00004850| 10 4f 4e 4c 4e 00 64 04 | 29 01 3d 01 2e 01 49 01 |.ONLN.d.|).=...I.|
|00004860| 6d 00 29 1d 09 50 41 50 | 53 74 61 74 75 73 00 00 |m.)..PAP|Status..|
|00004870| 03 00 14 00 a1 00 64 00 | 10 4f 4e 4c 4e 00 64 04 |......d.|.ONLN.d.|
|00004880| 32 01 3e 01 6d 01 4a 01 | f8 00 29 3f 1a 20 66 75 |2.>.m.J.|..)?. fu|
|00004890| 6e 63 74 69 6f 6e 73 2e | 20 20 54 68 65 20 4d 61 |nctions.| The Ma|
|000048a0| 63 69 6e 74 6f 73 68 00 | 06 00 00 00 00 00 a1 00 |cintosh.|........|
|000048b0| 64 00 10 4f 4e 4c 4e 00 | 64 04 4d 01 4b 00 36 01 |d..ONLN.|d.M.K.6.|
|000048c0| 57 00 66 00 28 01 54 00 | 36 0a 54 65 63 68 6e 69 |W.f.(.T.|6.Techni|
|000048d0| 63 61 6c 20 00 00 06 00 | 01 00 00 00 a1 00 64 00 |cal ....|......d.|
|000048e0| 10 4f 4e 4c 4e 00 64 04 | 57 01 4b 00 66 01 57 01 |.ONLN.d.|W.K.f.W.|
|000048f0| 5b 00 29 30 2f 4e 6f 74 | 65 20 d2 4e 57 20 32 30 |[.)0/Not|e .NW 20|
|00004900| 20 2d 20 50 41 50 20 53 | 74 61 74 75 73 20 42 75 | - PAP S|tatus Bu|
|00004910| 66 66 65 72 d3 20 64 65 | 73 63 72 69 62 65 73 20 |ffer. de|scribes |
|00004920| 74 68 65 20 00 00 03 00 | 16 00 a1 00 64 00 10 4f |the ....|....d..O|
|00004930| 4e 4c 4e 00 64 04 86 01 | 4a 01 5b 01 56 01 9a 00 |NLN.d...|J.[.V...|
|00004940| 29 f5 09 73 74 61 74 75 | 73 53 74 72 00 00 03 00 |)..statu|sStr....|
|00004950| 14 00 a1 00 64 00 10 4f | 4e 4c 4e 00 64 04 8f 01 |....d..O|NLN.d...|
|00004960| 4b 01 9a 01 57 01 f8 00 | 29 3f 13 20 66 6f 72 6d |K...W...|)?. form|
|00004970| 61 74 20 72 65 74 75 72 | 6e 65 64 20 62 79 00 00 |at retur|ned by..|
|00004980| 06 00 02 00 00 00 a1 00 | 64 00 10 4f 4e 4c 4e 00 |........|d..ONLN.|
|00004990| 64 04 a3 01 57 00 36 01 | 63 00 9d 00 28 01 60 00 |d...W.6.|c...(.`.|
|000049a0| 36 14 41 70 70 6c 65 d5 | 73 20 4c 61 73 65 72 57 |6.Apple.|s LaserW|
|000049b0| 72 69 74 65 72 20 00 00 | 06 00 03 00 00 00 a1 00 |riter ..|........|
|000049c0| 64 00 10 4f 4e 4c 4e 00 | 64 04 b7 01 57 00 9d 01 |d..ONLN.|d...W...|
|000049d0| 63 01 f8 00 29 67 41 61 | 6e 64 20 49 6d 61 67 65 |c...)gAa|nd Image|
|000049e0| 57 72 69 74 65 72 20 28 | 77 69 74 68 20 74 68 65 |Writer (|with the|
|000049f0| 20 49 6d 61 67 65 57 72 | 69 74 65 72 ca 49 49 2f | ImageWr|iter.II/|
|00004a00| 4c 51 20 4c 6f 63 61 6c | 54 61 6c 6b 20 4f 70 74 |LQ Local|Talk Opt|
|00004a10| 69 6f 6e 20 63 61 72 64 | 00 00 06 00 00 00 00 00 |ion card|........|
|00004a20| a1 00 64 00 10 4f 4e 4c | 4e 00 64 04 f9 01 63 00 |..d..ONL|N.d...c.|
|00004a30| 36 01 6f 00 8c 00 28 01 | 6c 00 36 14 69 6e 73 74 |6.o...(.|l.6.inst|
|00004a40| 61 6c 6c 65 64 29 20 70 | 72 69 6e 74 65 72 73 2e |alled) p|rinters.|
|00004a50| 00 00 04 01 00 00 0d 00 | 0e 00 a1 00 64 00 10 4f |........|....d..O|
|00004a60| 4e 4c 4e 00 64 05 0e 01 | 87 00 36 01 96 00 98 00 |NLN.d...|..6.....|
|00004a70| 2a 27 0d 50 41 50 20 46 | 75 6e 63 74 69 6f 6e 73 |*'.PAP F|unctions|
|00004a80| 00 00 0d 00 0c 00 a1 00 | 64 00 10 4f 4e 4c 4e 00 |........|d..ONLN.|
|00004a90| 64 05 1c 01 a2 00 36 01 | ae 00 6c 00 2a 18 07 50 |d.....6.|..l.*..P|
|00004aa0| 41 50 4f 70 65 6e 00 00 | 04 00 00 00 a1 00 64 00 |APOpen..|......d.|
|00004ab0| 10 4f 4e 4c 4e 00 64 05 | 24 01 bb 00 36 01 c7 00 |.ONLN.d.|$...6...|
|00004ac0| 73 00 2a 19 0c 59 6f 75 | 20 63 61 6e 20 75 73 65 |s.*..You| can use|
|00004ad0| 20 00 03 00 16 00 a1 00 | 64 00 10 4f 4e 4c 4e 00 | .......|d..ONLN.|
|00004ae0| 64 05 30 01 ba 00 73 01 | c6 00 a4 00 29 3d 07 50 |d.0...s.|....)=.P|
|00004af0| 41 50 4f 70 65 6e 00 00 | 03 00 14 00 a1 00 64 00 |APOpen..|......d.|
|00004b00| 10 4f 4e 4c 4e 00 64 05 | 37 01 bb 00 a4 01 c7 01 |.ONLN.d.|7.......|
|00004b10| a1 00 29 31 37 20 74 6f | 20 6f 70 65 6e 20 61 20 |..)17 to| open a |
|00004b20| 50 41 50 20 63 6f 6e 6e | 65 63 74 69 6f 6e 20 74 |PAP conn|ection t|
|00004b30| 6f 20 61 20 70 72 69 6e | 74 65 72 20 6f 72 20 70 |o a prin|ter or p|
|00004b40| 72 69 6e 74 20 73 65 72 | 76 65 72 2e 00 00 03 00 |rint ser|ver.....|
|00004b50| 16 00 a1 00 64 00 10 4f | 4e 4c 4e 00 64 05 6f 01 |....d..O|NLN.d.o.|
|00004b60| d3 00 36 01 df 01 e8 00 | 28 01 dd 00 36 3e 46 55 |..6.....|(...6>FU|
|00004b70| 4e 43 54 49 4f 4e 20 50 | 41 50 4f 70 65 6e 20 28 |NCTION P|APOpen (|
|00004b80| 56 41 52 20 72 65 66 4e | 75 6d 3a 20 49 4e 54 45 |VAR refN|um: INTE|
|00004b90| 47 45 52 3b 20 70 72 69 | 6e 74 65 72 4e 61 6d 65 |GER; pri|nterName|
|00004ba0| 3a 20 45 6e 74 69 74 79 | 50 74 72 3b 00 00 a1 00 |: Entity|Ptr;....|
|00004bb0| 64 00 10 4f 4e 4c 4e 00 | 64 05 af 01 df 00 5a 01 |d..ONLN.|d.....Z.|
|00004bc0| eb 01 b8 00 2b 24 0c 32 | 66 6c 6f 77 51 75 61 6e |....+$.2|flowQuan|
|00004bd0| 74 75 6d 3a 20 49 4e 54 | 45 47 45 52 3b 20 73 74 |tum: INT|EGER; st|
|00004be0| 61 74 75 73 42 75 66 66 | 3a 20 50 41 50 53 74 61 |atusBuff|: PAPSta|
|00004bf0| 74 75 73 52 65 63 50 74 | 72 3b 00 00 a1 00 64 00 |tusRecPt|r;....d.|
|00004c00| 10 4f 4e 4c 4e 00 64 05 | e3 01 eb 00 5a 01 f7 01 |.ONLN.d.|....Z...|
|00004c10| 25 00 2a 0c 1d 56 41 52 | 20 63 6f 6d 70 53 74 61 |%.*..VAR| compSta|
|00004c20| 74 65 3a 20 4f 53 45 72 | 72 29 3a 20 4f 53 45 72 |te: OSEr|r): OSEr|
|00004c30| 72 3b 00 00 a1 00 64 00 | 10 4f 4e 4c 4e 00 64 06 |r;....d.|.ONLN.d.|
|00004c40| 01 02 03 00 36 02 0f 00 | 60 00 28 02 0d 00 36 06 |....6...|`.(...6.|
|00004c50| 72 65 66 4e 75 6d 00 00 | 03 00 14 00 a1 00 64 00 |refNum..|......d.|
|00004c60| 10 4f 4e 4c 4e 00 64 06 | 08 02 04 00 a2 02 10 01 |.ONLN.d.|........|
|00004c70| 9d 00 29 6c 33 57 6f 72 | 64 20 72 65 73 75 6c 74 |..)l3Wor|d result|
|00004c80| 20 76 61 6c 75 65 3a 20 | 54 68 65 20 63 6f 6e 6e | value: |The conn|
|00004c90| 65 63 74 69 6f 6e 20 72 | 65 66 65 72 65 6e 63 65 |ection r|eference|
|00004ca0| 20 6e 75 6d 62 65 72 2e | 00 00 03 00 16 00 a1 00 | number.|........|
|00004cb0| 64 00 10 4f 4e 4c 4e 00 | 64 06 3c 02 1c 00 36 02 |d..ONLN.|d.<...6.|
|00004cc0| 28 00 83 00 28 02 26 00 | 36 0b 70 72 69 6e 74 65 |(...(.&.|6.printe|
|00004cd0| 72 4e 61 6d 65 00 03 00 | 14 00 a1 00 64 00 10 4f |rName...|....d..O|
|00004ce0| 4e 4c 4e 00 64 06 48 02 | 1d 00 a2 02 29 01 c2 00 |NLN.d.H.|....)...|
|00004cf0| 29 6c 3c 4c 6f 6e 67 77 | 6f 72 64 20 69 6e 70 75 |)l<Longw|ord inpu|
|00004d00| 74 20 70 6f 69 6e 74 65 | 72 3a 20 41 20 70 6f 69 |t pointe|r: A poi|
|00004d10| 6e 74 65 72 20 74 6f 20 | 74 68 65 20 70 61 63 6b |nter to |the pack|
|00004d20| 65 64 20 65 6e 74 69 74 | 79 20 6e 61 6d 65 20 00 |ed entit|y name .|
|00004d30| 06 00 01 00 00 00 a1 00 | 64 00 10 4f 4e 4c 4e 00 |........|d..ONLN.|
|00004d40| 64 06 84 02 1d 01 c2 02 | 29 01 f8 00 28 02 26 01 |d.......|)...(.&.|
|00004d50| c2 0c 6f 66 20 61 20 70 | 72 69 6e 74 65 72 00 00 |..of a p|rinter..|
|00004d60| 06 00 00 00 00 00 a1 00 | 64 00 10 4f 4e 4c 4e 00 |........|d..ONLN.|
|00004d70| 64 06 91 02 29 00 a2 02 | 35 00 e9 00 28 02 32 00 |d...)...|5...(.2.|
|00004d80| a2 10 6f 72 20 70 72 69 | 6e 74 20 73 65 72 76 65 |..or pri|nt serve|
|00004d90| 72 2e 00 00 03 00 16 00 | a1 00 64 00 10 4f 4e 4c |r.......|..d..ONL|
|00004da0| 4e 00 64 06 a2 02 41 00 | 36 02 4d 00 83 00 28 02 |N.d...A.|6.M...(.|
|00004db0| 4b 00 36 0b 66 6c 6f 77 | 51 75 61 6e 74 75 6d 00 |K.6.flow|Quantum.|
|00004dc0| 03 00 14 00 06 00 01 00 | 00 00 a1 00 64 00 10 4f |........|....d..O|
|00004dd0| 4e 4c 4e 00 64 06 ae 02 | 42 00 a2 02 4e 01 bc 00 |NLN.d...|B...N...|
|00004de0| 29 6c 38 57 6f 72 64 20 | 69 6e 70 75 74 20 76 61 |)l8Word |input va|
|00004df0| 6c 75 65 3a 20 54 68 65 | 20 66 6c 6f 77 20 71 75 |lue: The| flow qu|
|00004e00| 61 6e 74 75 6d 20 69 6e | 20 74 68 65 20 72 61 6e |antum in| the ran|
|00004e10| 67 65 20 6f 66 20 31 20 | 74 6f 20 00 06 00 02 00 |ge of 1 |to .....|
|00004e20| 00 00 a1 00 64 00 10 4f | 4e 4c 4e 00 64 06 e6 02 |....d..O|NLN.d...|
|00004e30| 42 01 bc 02 4e 01 f8 00 | 28 02 4b 01 bc 0b 38 2e |B...N...|(.K...8.|
|00004e40| 20 54 68 65 20 66 6c 6f | 77 00 06 00 00 00 00 00 | The flo|w.......|
|00004e50| a1 00 64 00 10 4f 4e 4c | 4e 00 64 06 f2 02 4f 00 |..d..ONL|N.d...O.|
|00004e60| a2 02 5b 01 34 00 28 02 | 58 00 a2 20 71 75 61 6e |..[.4.(.|X.. quan|
|00004e70| 74 75 6d 20 69 73 20 65 | 71 75 61 6c 20 74 6f 20 |tum is e|qual to |
|00004e80| 74 68 65 20 73 69 7a 65 | 20 6f 66 20 00 00 03 00 |the size| of ....|
|00004e90| 16 00 a1 00 64 00 10 4f | 4e 4c 4e 00 64 07 12 02 |....d..O|NLN.d...|
|00004ea0| 4e 01 34 02 5a 01 6c 00 | 29 92 08 72 65 61 64 42 |N.4.Z.l.|)..readB|
|00004eb0| 75 66 66 00 03 00 14 00 | a1 00 64 00 10 4f 4e 4c |uff.....|..d..ONL|
|00004ec0| 4e 00 64 07 1a 02 4f 01 | 6c 02 5b 01 84 00 29 38 |N.d...O.|l.[...)8|
|00004ed0| 05 20 79 6f 75 20 00 00 | 06 00 01 00 00 00 a1 00 |. you ..|........|
|00004ee0| 64 00 10 4f 4e 4c 4e 00 | 64 07 1f 02 4f 01 84 02 |d..ONLN.|d...O...|
|00004ef0| 5b 01 c0 00 29 18 0d 77 | 69 6c 6c 20 70 61 73 73 |[...)..w|ill pass|
|00004f00| 20 74 6f 20 00 00 03 00 | 16 00 a1 00 64 00 10 4f | to ....|....d..O|
|00004f10| 4e 4c 4e 00 64 07 2c 02 | 4e 01 c0 02 5a 01 f8 00 |NLN.d.,.|N...Z...|
|00004f20| 29 3c 08 57 50 41 50 52 | 65 61 64 00 03 00 14 00 |)<.WPAPR|ead.....|
|00004f30| 06 00 05 00 00 00 a1 00 | 64 00 10 4f 4e 4c 4e 00 |........|d..ONLN.|
|00004f40| 64 07 35 02 5c 00 a2 02 | 68 01 29 00 28 02 65 00 |d.5.\...|h.).(.e.|
|00004f50| a2 18 64 69 76 69 64 65 | 64 20 62 79 20 35 31 32 |..divide|d by 512|
|00004f60| 20 28 65 2e 67 2e 20 69 | 66 20 00 00 03 00 16 00 | (e.g. i|f ......|
|00004f70| a1 00 64 00 10 4f 4e 4c | 4e 00 64 07 4d 02 5b 01 |..d..ONL|N.d.M.[.|
|00004f80| 29 02 67 01 76 00 29 87 | 0b 66 6c 6f 77 51 75 61 |).g.v.).|.flowQua|
|00004f90| 6e 74 75 6d 00 00 03 00 | 14 00 a1 00 64 00 10 4f |ntum....|....d..O|
|00004fa0| 4e 4c 4e 00 64 07 58 02 | 5c 01 76 02 68 01 ee 00 |NLN.d.X.|\.v.h...|
|00004fb0| 29 4d 14 20 3d 20 4e 2c | 20 74 68 65 6e 20 74 68 |)M. = N,| then th|
|00004fc0| 65 20 73 69 7a 65 20 00 | 06 00 06 00 00 00 a1 00 |e size .|........|
|00004fd0| 64 00 10 4f 4e 4c 4e 00 | 64 07 6c 02 5c 01 ee 02 |d..ONLN.|d.l.\...|
|00004fe0| 68 01 f8 00 29 78 02 6f | 66 00 03 00 16 00 06 00 |h...)x.o|f.......|
|00004ff0| 00 00 00 00 a1 00 64 00 | 10 4f 4e 4c 4e 00 64 07 |......d.|.ONLN.d.|
|00005000| 6f 02 68 00 a2 02 74 00 | da 00 28 02 72 00 a2 08 |o.h...t.|..(.r...|
|00005010| 72 65 61 64 42 75 66 66 | 00 00 03 00 14 00 a1 00 |readBuff|........|
|00005020| 64 00 10 4f 4e 4c 4e 00 | 64 07 77 02 69 00 da 02 |d..ONLN.|d.w.i...|
|00005030| 75 01 4a 00 29 38 16 20 | 6d 75 73 74 20 62 65 20 |u.J.)8. |must be |
|00005040| 35 31 32 2a 4e 20 62 79 | 74 65 73 29 2e 00 03 00 |512*N by|tes)....|
|00005050| 16 00 a1 00 64 00 10 4f | 4e 4c 4e 00 64 07 8e 02 |....d..O|NLN.d...|
|00005060| 81 00 36 02 8d 00 7c 00 | 28 02 8b 00 36 0a 73 74 |..6...|.|(...6.st|
|00005070| 61 74 75 73 42 75 66 66 | 00 00 03 00 14 00 a1 00 |atusBuff|........|
|00005080| 64 00 10 4f 4e 4c 4e 00 | 64 07 99 02 82 00 a2 02 |d..ONLN.|d.......|
|00005090| 8e 01 5c 00 29 6c 27 4c | 6f 6e 67 77 6f 72 64 20 |..\.)l'L|ongword |
|000050a0| 69 6e 70 75 74 20 70 6f | 69 6e 74 65 72 3a 20 41 |input po|inter: A|
|000050b0| 20 70 6f 69 6e 74 65 72 | 20 74 6f 20 61 20 00 00 | pointer| to a ..|
|000050c0| 03 00 16 00 a1 00 64 00 | 10 4f 4e 4c 4e 00 64 07 |......d.|.ONLN.d.|
|000050d0| c0 02 81 01 5c 02 8d 01 | b0 00 29 ba 0c 50 41 50 |....\...|..)..PAP|
|000050e0| 53 74 61 74 75 73 52 65 | 63 00 03 00 14 00 a1 00 |StatusRe|c.......|
|000050f0| 64 00 10 4f 4e 4c 4e 00 | 64 07 cc 02 82 01 b0 02 |d..ONLN.|d.......|
|00005100| 8e 01 b4 00 29 54 01 2e | 00 00 03 00 16 00 a1 00 |....)T..|........|
|00005110| 64 00 10 4f 4e 4c 4e 00 | 64 07 ce 02 9a 00 36 02 |d..ONLN.|d.....6.|
|00005120| a6 00 75 00 28 02 a4 00 | 36 09 63 6f 6d 70 53 74 |..u.(...|6.compSt|
|00005130| 61 74 65 00 03 00 14 00 | 06 00 01 00 00 00 a1 00 |ate.....|........|
|00005140| 64 00 10 4f 4e 4c 4e 00 | 64 07 d8 02 9b 00 a2 02 |d..ONLN.|d.......|
|00005150| a7 01 a4 00 29 6c 33 57 | 6f 72 64 20 72 65 73 75 |....)l3W|ord resu|
|00005160| 6c 74 20 76 61 6c 75 65 | 3a 20 41 20 77 6f 72 64 |lt value|: A word|
|00005170| 20 74 68 61 74 20 63 61 | 6e 20 62 65 20 6d 6f 6e | that ca|n be mon|
|00005180| 69 74 6f 72 65 64 20 62 | 79 20 00 00 06 00 02 00 |itored b|y ......|
|00005190| 00 00 a1 00 64 00 10 4f | 4e 4c 4e 00 64 08 0b 02 |....d..O|NLN.d...|
|000051a0| 9b 01 a4 02 a7 01 f8 00 | 28 02 a4 01 a4 13 74 68 |........|(.....th|
|000051b0| 65 20 63 61 6c 6c 65 72 | 20 66 6f 72 20 63 61 6c |e caller| for cal|
|000051c0| 6c 00 06 00 00 00 00 00 | a1 00 64 00 10 4f 4e 4c |l.......|..d..ONL|
|000051d0| 4e 00 64 08 1f 02 a7 00 | a2 02 b3 01 3c 00 28 02 |N.d.....|....<.(.|
|000051e0| b0 00 a2 20 63 6f 6d 70 | 6c 65 74 69 6f 6e 20 61 |... comp|letion a|
|000051f0| 6e 64 20 65 72 72 6f 72 | 20 63 6f 6e 64 69 74 69 |nd error| conditi|
|00005200| 6f 6e 73 2e 00 00 20 02 | d7 00 34 02 d7 01 f9 00 |ons... .|..4.....|
|00005210| 0d 00 0a 00 28 02 ec 00 | 36 01 32 00 29 05 05 20 |....(...|6.2.).. |
|00005220| 6f 66 20 37 00 00 28 02 | ec 01 66 22 54 68 65 20 |of 7..(.|..f"The |
|00005230| 4d 61 63 69 6e 74 6f 73 | 68 20 50 41 50 20 43 6c |Macintos|h PAP Cl|
|00005240| 69 65 6e 74 20 49 6e 74 | 65 72 66 61 63 65 00 00 |ient Int|erface..|
|00005250| ff 16 4a 00 00 00 00 03 | 48 02 52 00 11 02 ff 0c |..J.....|H.R.....|
|00005260| 00 ff ff ff ff 00 00 00 | 00 00 00 00 00 02 52 00 |........|......R.|
|00005270| 00 03 48 00 00 00 00 00 | 00 00 1e 00 01 00 0a 00 |..H.....|........|
|00005280| 00 00 00 03 49 02 52 00 | 2c 00 08 00 14 05 54 69 |....I.R.|,.....Ti|
|00005290| 6d 65 73 00 03 00 14 00 | 0d 00 0a 00 2e 00 04 00 |mes.....|........|
|000052a0| 00 00 00 00 28 00 2d 01 | de 0d 44 65 63 65 6d 62 |....(.-.|..Decemb|
|000052b0| 65 72 20 31 39 39 34 00 | 20 00 2f 00 58 00 2f 02 |er 1994.| ./.X./.|
|000052c0| 1d 00 2c 00 0a 00 16 07 | 43 6f 75 72 69 65 72 00 |..,.....|Courier.|
|000052d0| 03 00 16 00 0d 00 0c 00 | a1 00 64 00 10 4f 4e 4c |........|..d..ONL|
|000052e0| 4e 00 64 00 00 00 3c 00 | 5a 00 48 00 8b 00 28 00 |N.d...<.|Z.H...(.|
|000052f0| 46 00 5a 07 50 41 50 4f | 70 65 6e 00 03 00 14 00 |F.Z.PAPO|pen.....|
|00005300| a1 00 64 00 10 4f 4e 4c | 4e 00 64 00 07 00 3d 00 |..d..ONL|N.d...=.|
|00005310| 8b 00 49 01 5e 00 29 31 | 30 20 66 69 6e 64 73 20 |..I.^.)1|0 finds |
|00005320| 74 68 65 20 70 72 69 6e | 74 65 72 20 6f 72 20 70 |the prin|ter or p|
|00005330| 72 69 6e 74 20 73 65 72 | 76 65 72 20 73 70 65 63 |rint ser|ver spec|
|00005340| 69 66 69 65 64 20 62 79 | 20 00 03 00 16 00 06 00 |ified by| .......|
|00005350| 01 00 00 00 a1 00 64 00 | 10 4f 4e 4c 4e 00 64 00 |......d.|.ONLN.d.|
|00005360| 37 00 3c 01 5e 00 48 01 | ab 00 29 d3 0b 70 72 69 |7.<.^.H.|..)..pri|
|00005370| 6e 74 65 72 4e 61 6d 65 | 00 00 03 00 14 00 a1 00 |nterName|........|
|00005380| 64 00 10 4f 4e 4c 4e 00 | 64 00 42 00 3d 01 ab 00 |d..ONLN.|d.B.=...|
|00005390| 49 02 1c 00 29 4d 17 20 | 61 6e 64 20 61 74 74 65 |I...)M. |and atte|
|000053a0| 6d 70 74 73 20 74 6f 20 | 6f 70 65 6e 20 61 00 00 |mpts to |open a..|
|000053b0| 06 00 00 00 00 00 a1 00 | 64 00 10 4f 4e 4c 4e 00 |........|d..ONLN.|
|000053c0| 64 00 5a 00 49 00 5a 00 | 55 00 d5 00 28 00 52 00 |d.Z.I.Z.|U...(.R.|
|000053d0| 5a 19 50 41 50 20 63 6f | 6e 6e 65 63 74 69 6f 6e |Z.PAP co|nnection|
|000053e0| 20 77 69 74 68 20 74 68 | 61 74 20 00 06 00 01 00 | with th|at .....|
|000053f0| 00 00 a1 00 64 00 10 4f | 4e 4c 4e 00 64 00 73 00 |....d..O|NLN.d.s.|
|00005400| 49 00 d5 00 55 02 1c 00 | 29 7b 44 70 72 69 6e 74 |I...U...|){Dprint|
|00005410| 65 72 20 6f 72 20 70 72 | 69 6e 74 20 73 65 72 76 |er or pr|int serv|
|00005420| 65 72 2e 20 49 66 20 74 | 68 65 72 65 20 61 72 65 |er. If t|here are|
|00005430| 20 6e 6f 20 66 72 65 65 | 20 50 41 50 20 43 6f 6e | no free| PAP Con|
|00005440| 6e 65 63 74 69 6f 6e 20 | 43 6f 6e 74 72 6f 6c 00 |nection |Control.|
|00005450| 06 00 05 00 00 00 a1 00 | 64 00 10 4f 4e 4c 4e 00 |........|d..ONLN.|
|00005460| 64 00 b8 00 56 00 5a 00 | 62 00 e1 00 28 00 5f 00 |d...V.Z.|b...(._.|
|00005470| 5a 18 42 6c 6f 63 6b 73 | 20 28 43 43 42 73 29 20 |Z.Blocks| (CCBs) |
|00005480| 61 76 61 69 6c 61 62 6c | 65 20 00 00 06 00 06 00 |availabl|e ......|
|00005490| 00 00 a1 00 64 00 10 4f | 4e 4c 4e 00 64 00 d0 00 |....d..O|NLN.d...|
|000054a0| 56 00 e1 00 62 01 91 00 | 29 87 1f 74 6f 20 75 73 |V...b...|)..to us|
|000054b0| 65 20 66 6f 72 20 74 68 | 65 20 63 6f 6e 6e 65 63 |e for th|e connec|
|000054c0| 74 69 6f 6e 2c 20 74 68 | 65 20 00 00 03 00 16 00 |tion, th|e ......|
|000054d0| a1 00 64 00 10 4f 4e 4c | 4e 00 64 00 ef 00 55 01 |..d..ONL|N.d...U.|
|000054e0| 91 00 61 01 c2 00 29 b0 | 07 50 41 50 4f 70 65 6e |..a...).|.PAPOpen|
|000054f0| 00 00 03 00 14 00 a1 00 | 64 00 10 4f 4e 4c 4e 00 |........|d..ONLN.|
|00005500| 64 00 f6 00 56 01 c2 00 | 62 02 1c 00 29 31 11 20 |d...V...|b...)1. |
|00005510| 66 75 6e 63 74 69 6f 6e | 20 72 65 74 75 72 6e 73 |function| returns|
|00005520| 00 00 03 00 16 00 06 00 | 01 00 00 00 a1 00 64 00 |........|......d.|
|00005530| 10 4f 4e 4c 4e 00 64 01 | 08 00 62 00 5a 00 6e 00 |.ONLN.d.|..b.Z.n.|
|00005540| 99 00 28 00 6c 00 5a 09 | 50 41 50 4e 6f 43 43 42 |..(.l.Z.|PAPNoCCB|
|00005550| 73 00 03 00 14 00 a1 00 | 64 00 10 4f 4e 4c 4e 00 |s.......|d..ONLN.|
|00005560| 64 01 11 00 63 00 99 00 | 6f 01 69 00 29 3f 2e 2e |d...c...|o.i.)?..|
|00005570| 20 49 66 20 74 68 65 20 | 70 72 69 6e 74 65 72 20 | If the |printer |
|00005580| 6f 72 20 70 72 69 6e 74 | 20 73 65 72 76 65 72 20 |or print| server |
|00005590| 73 70 65 63 69 66 69 65 | 64 20 62 79 20 00 03 00 |specifie|d by ...|
|000055a0| 16 00 06 00 02 00 00 00 | a1 00 64 00 10 4f 4e 4c |........|..d..ONL|
|000055b0| 4e 00 64 01 3f 00 62 01 | 69 00 6e 01 b6 00 29 d0 |N.d.?.b.|i.n...).|
|000055c0| 0b 70 72 69 6e 74 65 72 | 4e 61 6d 65 00 00 03 00 |.printer|Name....|
|000055d0| 14 00 a1 00 64 00 10 4f | 4e 4c 4e 00 64 01 4a 00 |....d..O|NLN.d.J.|
|000055e0| 63 01 b6 00 6f 02 1c 00 | 29 4d 14 20 69 73 20 6e |c...o...|)M. is n|
|000055f0| 6f 74 20 66 6f 75 6e 64 | 20 6f 6e 20 74 68 65 00 |ot found| on the.|
|00005600| 06 00 00 00 00 00 a1 00 | 64 00 10 4f 4e 4c 4e 00 |........|d..ONLN.|
|00005610| 64 01 5f 00 70 00 5a 00 | 7c 00 cd 00 28 00 79 00 |d._.p.Z.||...(.y.|
|00005620| 5a 17 41 70 70 6c 65 54 | 61 6c 6b 20 6e 65 74 77 |Z.AppleT|alk netw|
|00005630| 6f 72 6b 2c 20 74 68 65 | 20 00 03 00 16 00 a1 00 |ork, the| .......|
|00005640| 64 00 10 4f 4e 4c 4e 00 | 64 01 76 00 6f 00 cd 00 |d..ONLN.|d.v.o...|
|00005650| 7b 00 fe 00 29 73 07 50 | 41 50 4f 70 65 6e 00 00 |{...)s.P|APOpen..|
|00005660| 03 00 14 00 a1 00 64 00 | 10 4f 4e 4c 4e 00 64 01 |......d.|.ONLN.d.|
|00005670| 7d 00 70 00 fe 00 7c 01 | 4f 00 29 31 12 20 66 75 |}.p...|.|O.)1. fu|
|00005680| 6e 63 74 69 6f 6e 20 72 | 65 74 75 72 6e 73 20 00 |nction r|eturns .|
|00005690| 03 00 16 00 a1 00 64 00 | 10 4f 4e 4c 4e 00 64 01 |......d.|.ONLN.d.|
|000056a0| 8f 00 6f 01 4f 00 7b 01 | a3 00 29 51 0c 50 41 50 |..o.O.{.|..)Q.PAP|
|000056b0| 4e 6f 50 72 69 6e 74 65 | 72 00 03 00 14 00 a1 00 |NoPrinte|r.......|
|000056c0| 64 00 10 4f 4e 4c 4e 00 | 64 01 9b 00 70 01 a3 00 |d..ONLN.|d...p...|
|000056d0| 7c 01 a7 00 29 54 01 2e | 00 00 03 00 16 00 06 00 ||...)T..|........|
|000056e0| 03 00 00 00 a1 00 64 00 | 10 4f 4e 4c 4e 00 64 01 |......d.|.ONLN.d.|
|000056f0| 9d 00 88 00 5a 00 94 00 | 8b 00 28 00 92 00 5a 07 |....Z...|..(...Z.|
|00005700| 50 41 50 4f 70 65 6e 00 | 03 00 14 00 a1 00 64 00 |PAPOpen.|......d.|
|00005710| 10 4f 4e 4c 4e 00 64 01 | a4 00 89 00 8b 00 95 01 |.ONLN.d.|........|
|00005720| 45 00 29 31 24 20 69 73 | 20 65 78 65 63 75 74 65 |E.)1$ is| execute|
|00005730| 64 20 61 73 79 6e 63 68 | 72 6f 6e 6f 75 73 6c 79 |d asynch|ronously|
|00005740| 2e 20 49 66 20 74 68 65 | 20 00 03 00 16 00 a1 00 |. If the| .......|
|00005750| 64 00 10 4f 4e 4c 4e 00 | 64 01 c8 00 88 01 45 00 |d..ONLN.|d.....E.|
|00005760| 94 01 76 00 29 ba 07 50 | 41 50 4f 70 65 6e 00 00 |..v.)..P|APOpen..|
|00005770| 03 00 14 00 a1 00 64 00 | 10 4f 4e 4c 4e 00 64 01 |......d.|.ONLN.d.|
|00005780| cf 00 89 01 76 00 95 01 | 7c 00 29 31 01 20 00 00 |....v...||.)1. ..|
|00005790| 06 00 04 00 00 00 a1 00 | 64 00 10 4f 4e 4c 4e 00 |........|d..ONLN.|
|000057a0| 64 01 d0 00 89 01 7c 00 | 95 01 da 00 29 06 13 66 |d.....|.|....)..f|
|000057b0| 75 6e 63 74 69 6f 6e 20 | 72 65 73 75 6c 74 20 69 |unction |result i|
|000057c0| 73 20 00 00 03 00 16 00 | a1 00 64 00 10 4f 4e 4c |s ......|..d..ONL|
|000057d0| 4e 00 64 01 e3 00 88 01 | da 00 94 01 fd 00 29 5e |N.d.....|......)^|
|000057e0| 05 6e 6f 45 72 72 00 00 | 03 00 14 00 a1 00 64 00 |.noErr..|......d.|
|000057f0| 10 4f 4e 4c 4e 00 64 01 | e8 00 89 01 fd 00 95 02 |.ONLN.d.|........|
|00005800| 1c 00 29 23 06 2c 20 74 | 68 65 6e 00 03 00 16 00 |..)#., t|hen.....|
|00005810| 06 00 02 00 00 00 a1 00 | 64 00 10 4f 4e 4c 4e 00 |........|d..ONLN.|
|00005820| 64 01 ef 00 95 00 5a 00 | a1 00 84 00 28 00 9f 00 |d.....Z.|....(...|
|00005830| 5a 06 72 65 66 4e 75 6d | 00 00 03 00 14 00 a1 00 |Z.refNum|........|
|00005840| 64 00 10 4f 4e 4c 4e 00 | 64 01 f5 00 96 00 84 00 |d..ONLN.|d.......|
|00005850| a2 01 75 00 29 2a 32 20 | 69 73 20 76 61 6c 69 64 |..u.)*2 |is valid|
|00005860| 20 61 6e 64 20 74 68 65 | 20 63 61 6c 6c 65 72 20 | and the| caller |
|00005870| 63 61 6e 20 6d 6f 6e 69 | 74 6f 72 20 74 68 65 20 |can moni|tor the |
|00005880| 76 61 72 69 61 62 6c 65 | 20 00 03 00 16 00 06 00 |variable| .......|
|00005890| 03 00 00 00 a1 00 64 00 | 10 4f 4e 4c 4e 00 64 02 |......d.|.ONLN.d.|
|000058a0| 27 00 95 01 75 00 a1 01 | b4 00 29 f1 09 63 6f 6d |'...u...|..)..com|
|000058b0| 70 53 74 61 74 65 00 00 | 03 00 14 00 a1 00 64 00 |pState..|......d.|
|000058c0| 10 4f 4e 4c 4e 00 64 02 | 30 00 96 01 b4 00 a2 02 |.ONLN.d.|0.......|
|000058d0| 1c 00 29 3f 15 20 66 6f | 72 20 63 61 6c 6c 20 63 |..)?. fo|r call c|
|000058e0| 6f 6d 70 6c 65 74 69 6f | 6e 2e 00 00 06 00 00 00 |ompletio|n.......|
|000058f0| 00 00 a1 00 64 00 10 4f | 4e 4c 4e 00 64 02 46 00 |....d..O|NLN.d.F.|
|00005900| a3 00 5a 00 af 00 dc 00 | 28 00 ac 00 5a 1d 57 68 |..Z.....|(...Z.Wh|
|00005910| 69 6c 65 20 74 68 65 20 | 63 61 6c 6c 20 69 73 20 |ile the |call is |
|00005920| 65 78 65 63 75 74 69 6e | 67 2c 20 00 03 00 16 00 |executin|g, .....|
|00005930| a1 00 64 00 10 4f 4e 4c | 4e 00 64 02 63 00 a2 00 |..d..ONL|N.d.c...|
|00005940| dc 00 ae 01 1b 00 29 82 | 09 63 6f 6d 70 53 74 61 |......).|.compSta|
|00005950| 74 65 00 00 03 00 14 00 | a1 00 64 00 10 4f 4e 4c |te......|..d..ONL|
|00005960| 4e 00 64 02 6c 00 a3 01 | 1b 00 af 01 aa 00 29 3f |N.d.l...|......)?|
|00005970| 20 20 77 69 6c 6c 20 68 | 61 76 65 20 61 20 76 61 | will h|ave a va|
|00005980| 6c 75 65 20 67 72 65 61 | 74 65 72 20 74 68 61 6e |lue grea|ter than|
|00005990| 20 00 06 00 01 00 00 00 | a1 00 64 00 10 4f 4e 4c | .......|..d..ONL|
|000059a0| 4e 00 64 02 8c 00 a3 01 | aa 00 af 02 1c 00 29 8f |N.d.....|......).|
|000059b0| 17 7a 65 72 6f 2e 20 57 | 68 65 6e 20 74 68 65 20 |.zero. W|hen the |
|000059c0| 63 61 6c 6c 20 68 61 73 | 00 00 a1 00 64 00 10 4f |call has|....d..O|
|000059d0| 4e 4c 4e 00 64 02 a4 00 | b0 00 5a 00 bc 00 cf 00 |NLN.d...|..Z.....|
|000059e0| 28 00 b9 00 5a 18 63 6f | 6d 70 6c 65 74 65 64 2c |(...Z.co|mpleted,|
|000059f0| 20 74 68 65 20 76 61 6c | 75 65 20 6f 66 20 00 00 | the val|ue of ..|
|00005a00| 03 00 16 00 a1 00 64 00 | 10 4f 4e 4c 4e 00 64 02 |......d.|.ONLN.d.|
|00005a10| bc 00 af 00 cf 00 bb 01 | 0e 00 29 75 09 63 6f 6d |........|..)u.com|
|00005a20| 70 53 74 61 74 65 00 00 | 03 00 14 00 a1 00 64 00 |pState..|......d.|
|00005a30| 10 4f 4e 4c 4e 00 64 02 | c5 00 b0 01 0e 00 bc 01 |.ONLN.d.|........|
|00005a40| 28 00 29 3f 06 20 77 69 | 6c 6c 20 00 06 00 02 00 |(.)?. wi|ll .....|
|00005a50| 00 00 a1 00 64 00 10 4f | 4e 4c 4e 00 64 02 cb 00 |....d..O|NLN.d...|
|00005a60| b0 01 28 00 bc 01 57 00 | 29 1a 0a 65 69 74 68 65 |..(...W.|)..eithe|
|00005a70| 72 20 62 65 20 00 03 00 | 16 00 a1 00 64 00 10 4f |r be ...|....d..O|
|00005a80| 4e 4c 4e 00 64 02 d5 00 | af 01 57 00 bb 01 7a 00 |NLN.d...|..W...z.|
|00005a90| 29 2f 05 6e 6f 45 72 72 | 00 00 03 00 14 00 a1 00 |)/.noErr|........|
|00005aa0| 64 00 10 4f 4e 4c 4e 00 | 64 02 da 00 b0 01 7a 00 |d..ONLN.|d.....z.|
|00005ab0| bc 02 1c 00 29 23 20 20 | 6f 72 20 61 20 6e 65 67 |....)# |or a neg|
|00005ac0| 61 74 69 76 65 20 76 61 | 6c 75 65 20 77 68 69 63 |ative va|lue whic|
|00005ad0| 68 20 69 73 20 61 6e 00 | 06 00 00 00 00 00 a1 00 |h is an.|........|
|00005ae0| 64 00 10 4f 4e 4c 4e 00 | 64 02 fb 00 bc 00 5a 00 |d..ONLN.|d.....Z.|
|00005af0| c8 00 8e 00 28 00 c5 00 | 5a 0b 65 72 72 6f 72 20 |....(...|Z.error |
|00005b00| 63 6f 64 65 2e 00 04 01 | 00 00 a1 00 64 00 10 4f |code....|....d..O|
|00005b10| 4e 4c 4e 00 64 03 07 00 | d5 00 5a 00 e1 00 79 00 |NLN.d...|..Z...y.|
|00005b20| 2a 19 05 4e 6f 74 65 3a | 00 00 03 00 16 00 04 00 |*..Note:|........|
|00005b30| 00 00 a1 00 64 00 10 4f | 4e 4c 4e 00 64 03 0d 00 |....d..O|NLN.d...|
|00005b40| d4 00 7e 00 e0 00 af 00 | 29 24 07 50 41 50 4f 70 |..~.....|)$.PAPOp|
|00005b50| 65 6e 00 00 03 00 14 00 | a1 00 64 00 10 4f 4e 4c |en......|..d..ONL|
|00005b60| 4e 00 64 03 14 00 d5 00 | af 00 e1 01 8b 00 29 31 |N.d.....|......)1|
|00005b70| 30 20 63 61 6e 20 62 65 | 20 63 61 6e 63 65 6c 65 |0 can be| cancele|
|00005b80| 64 20 62 65 66 6f 72 65 | 20 69 74 20 63 6f 6d 70 |d before| it comp|
|00005b90| 6c 65 74 65 73 20 62 79 | 20 63 61 6c 6c 69 6e 67 |letes by| calling|
|00005ba0| 20 00 03 00 16 00 a1 00 | 64 00 10 4f 4e 4c 4e 00 | .......|d..ONLN.|
|00005bb0| 64 03 44 00 d4 01 8b 00 | e0 01 ca 00 29 dc 09 57 |d.D.....|....)..W|
|00005bc0| 50 41 50 43 6c 6f 73 65 | 00 00 03 00 14 00 a1 00 |PAPClose|........|
|00005bd0| 64 00 10 4f 4e 4c 4e 00 | 64 03 4d 00 d5 01 ca 00 |d..ONLN.|d.M.....|
|00005be0| e1 01 cd 00 29 3f 01 20 | 00 00 06 00 01 00 00 00 |....)?. |........|
|00005bf0| a1 00 64 00 10 4f 4e 4c | 4e 00 64 03 4e 00 d5 01 |..d..ONL|N.d.N...|
|00005c00| cd 00 e1 01 f8 00 29 03 | 09 28 77 69 74 68 20 74 |......).|.(with t|
|00005c10| 68 65 00 00 03 00 16 00 | 06 00 02 00 00 00 a1 00 |he......|........|
|00005c20| 64 00 10 4f 4e 4c 4e 00 | 64 03 58 00 e1 00 7e 00 |d..ONLN.|d.X...~.|
|00005c30| ed 00 a8 00 28 00 eb 00 | 7e 06 72 65 66 4e 75 6d |....(...|~.refNum|
|00005c40| 00 00 03 00 14 00 a1 00 | 64 00 10 4f 4e 4c 4e 00 |........|d..ONLN.|
|00005c50| 64 03 5e 00 e2 00 a8 00 | ee 00 c2 00 29 2a 06 29 |d.^.....|....)*.)|
|00005c60| 2e 20 49 66 20 00 03 00 | 16 00 a1 00 64 00 10 4f |. If ...|....d..O|
|00005c70| 4e 4c 4e 00 64 03 64 00 | e1 00 c2 00 ed 00 f3 00 |NLN.d.d.|........|
|00005c80| 29 1a 07 50 41 50 4f 70 | 65 6e 00 00 03 00 14 00 |)..PAPOp|en......|
|00005c90| a1 00 64 00 10 4f 4e 4c | 4e 00 64 03 6b 00 e2 00 |..d..ONL|N.d.k...|
|00005ca0| f3 00 ee 01 05 00 29 31 | 04 20 69 73 20 00 06 00 |......)1|. is ...|
|00005cb0| 03 00 00 00 a1 00 64 00 | 10 4f 4e 4c 4e 00 64 03 |......d.|.ONLN.d.|
|00005cc0| 6f 00 e2 01 05 00 ee 01 | ab 00 29 12 20 63 61 6e |o.......|..). can|
|00005cd0| 63 65 6c 65 64 20 74 68 | 69 73 20 77 61 79 2c 20 |celed th|is way, |
|00005ce0| 74 68 65 20 76 61 6c 75 | 65 20 6f 66 20 00 03 00 |the valu|e of ...|
|00005cf0| 16 00 a1 00 64 00 10 4f | 4e 4c 4e 00 64 03 8f 00 |....d..O|NLN.d...|
|00005d00| e1 01 ab 00 ed 01 ea 00 | 29 a6 09 63 6f 6d 70 53 |........|)..compS|
|00005d10| 74 61 74 65 00 00 03 00 | 14 00 a1 00 64 00 10 4f |tate....|....d..O|
|00005d20| 4e 4c 4e 00 64 03 98 00 | e2 01 ea 00 ee 01 f8 00 |NLN.d...|........|
|00005d30| 29 3f 03 20 69 73 00 00 | 06 00 00 00 00 00 a1 00 |)?. is..|........|
|00005d40| 64 00 10 4f 4e 4c 4e 00 | 64 03 9c 00 ee 00 7e 00 |d..ONLN.|d.....~.|
|00005d50| fa 00 b1 00 28 00 f7 00 | 7e 0a 75 6e 64 65 66 69 |....(...|~.undefi|
|00005d60| 6e 65 64 2e 00 00 06 00 | 01 00 00 00 a1 00 64 00 |ned.....|......d.|
|00005d70| 10 4f 4e 4c 4e 00 64 03 | a7 01 07 00 5a 01 13 00 |.ONLN.d.|....Z...|
|00005d80| 70 00 28 01 10 00 5a 04 | 54 68 65 20 00 00 03 00 |p.(...Z.|The ....|
|00005d90| 16 00 a1 00 64 00 10 4f | 4e 4c 4e 00 64 03 ab 01 |....d..O|NLN.d...|
|00005da0| 06 00 70 01 12 00 af 00 | 29 16 09 73 74 61 74 75 |..p.....|)..statu|
|00005db0| 73 53 74 72 00 00 03 00 | 14 00 a1 00 64 00 10 4f |sStr....|....d..O|
|00005dc0| 4e 4c 4e 00 64 03 b4 01 | 07 00 af 01 13 00 ec 00 |NLN.d...|........|
|00005dd0| 29 3f 0e 20 66 69 65 6c | 64 20 6f 66 20 74 68 65 |)?. fiel|d of the|
|00005de0| 20 00 03 00 16 00 06 00 | 02 00 00 00 a1 00 64 00 | .......|......d.|
|00005df0| 10 4f 4e 4c 4e 00 64 03 | c2 01 06 00 ec 01 12 01 |.ONLN.d.|........|
|00005e00| 40 00 29 3d 0c 50 41 50 | 53 74 61 74 75 73 52 65 |@.)=.PAP|StatusRe|
|00005e10| 63 00 03 00 14 00 a1 00 | 64 00 10 4f 4e 4c 4e 00 |c.......|d..ONLN.|
|00005e20| 64 03 ce 01 07 01 40 01 | 13 01 e7 00 29 54 22 20 |d.....@.|....)T" |
|00005e30| 73 68 6f 75 6c 64 20 62 | 65 20 63 6c 65 61 72 65 |should b|e cleare|
|00005e40| 64 20 62 65 66 6f 72 65 | 20 63 61 6c 6c 69 6e 67 |d before| calling|
|00005e50| 20 00 03 00 16 00 a1 00 | 64 00 10 4f 4e 4c 4e 00 | .......|d..ONLN.|
|00005e60| 64 03 f0 01 06 01 e7 01 | 12 02 18 00 29 a7 07 50 |d.......|....)..P|
|00005e70| 41 50 4f 70 65 6e 00 00 | 03 00 14 00 a1 00 64 00 |APOpen..|......d.|
|00005e80| 10 4f 4e 4c 4e 00 64 03 | f7 01 07 02 18 01 13 02 |.ONLN.d.|........|
|00005e90| 1c 00 29 31 01 2e 00 00 | 06 00 01 00 00 00 a1 00 |..)1....|........|
|00005ea0| 64 00 10 4f 4e 4c 4e 00 | 64 03 f9 01 14 00 5a 01 |d..ONLN.|d.....Z.|
|00005eb0| 20 00 fe 00 28 01 1d 00 | 5a 20 57 68 69 6c 65 20 | ...(...|Z While |
|00005ec0| 77 61 69 74 69 6e 67 20 | 66 6f 72 20 50 41 50 20 |waiting |for PAP |
|00005ed0| 74 6f 20 6f 70 65 6e 20 | 61 20 00 00 06 00 02 00 |to open |a ......|
|00005ee0| 00 00 a1 00 64 00 10 4f | 4e 4c 4e 00 64 04 19 01 |....d..O|NLN.d...|
|00005ef0| 14 00 fe 01 20 01 aa 00 | 29 a4 23 63 6f 6e 6e 65 |.... ...|).#conne|
|00005f00| 63 74 69 6f 6e 2c 20 74 | 68 65 20 63 61 6c 6c 65 |ction, t|he calle|
|00005f10| 72 20 63 61 6e 20 6d 6f | 6e 69 74 6f 72 20 00 00 |r can mo|nitor ..|
|00005f20| 03 00 16 00 a1 00 64 00 | 10 4f 4e 4c 4e 00 64 04 |......d.|.ONLN.d.|
|00005f30| 3c 01 13 01 aa 01 1f 01 | e9 00 29 ac 09 73 74 61 |<.......|..)..sta|
|00005f40| 74 75 73 53 74 72 00 00 | 03 00 14 00 a1 00 64 00 |tusStr..|......d.|
|00005f50| 10 4f 4e 4c 4e 00 64 04 | 45 01 14 01 e9 01 20 02 |.ONLN.d.|E..... .|
|00005f60| 1c 00 29 3f 0b 20 66 6f | 72 20 73 74 61 74 75 73 |..)?. fo|r status|
|00005f70| 00 00 06 00 00 00 00 00 | a1 00 64 00 10 4f 4e 4c |........|..d..ONL|
|00005f80| 4e 00 64 04 51 01 20 00 | 5a 01 2c 01 0d 00 28 01 |N.d.Q. .|Z.,...(.|
|00005f90| 29 00 5a 27 69 6e 66 6f | 72 6d 61 74 69 6f 6e 20 |).Z'info|rmation |
|00005fa0| 72 65 74 75 72 6e 65 64 | 20 62 79 20 74 68 65 20 |returned| by the |
|00005fb0| 70 72 69 6e 74 65 72 20 | 6f 72 20 00 06 00 01 00 |printer |or .....|
|00005fc0| 00 00 a1 00 64 00 10 4f | 4e 4c 4e 00 64 04 78 01 |....d..O|NLN.d.x.|
|00005fd0| 20 01 0d 01 2c 02 1c 00 | 29 b3 3a 70 72 69 6e 74 | ...,...|).:print|
|00005fe0| 20 73 65 72 76 65 72 2e | 20 54 68 65 20 63 61 6c | server.| The cal|
|00005ff0| 6c 65 72 20 6d 69 67 68 | 74 20 77 69 73 68 20 74 |ler migh|t wish t|
|00006000| 6f 20 64 69 73 70 6c 61 | 79 20 74 68 69 73 20 73 |o displa|y this s|
|00006010| 74 72 69 6e 67 00 06 00 | 00 00 00 00 a1 00 64 00 |tring...|......d.|
|00006020| 10 4f 4e 4c 4e 00 64 04 | b3 01 2d 00 5a 01 39 00 |.ONLN.d.|..-.Z.9.|
|00006030| 66 00 28 01 36 00 5a 03 | 69 6e 20 00 06 00 01 00 |f.(.6.Z.|in .....|
|00006040| 00 00 a1 00 64 00 10 4f | 4e 4c 4e 00 64 04 b6 01 |....d..O|NLN.d...|
|00006050| 2d 00 66 01 39 01 b8 00 | 29 0c 47 61 6e 20 61 70 |-.f.9...|).Gan ap|
|00006060| 70 72 6f 70 72 69 61 74 | 65 20 66 61 73 68 69 6f |propriat|e fashio|
|00006070| 6e 20 74 6f 20 70 72 6f | 76 69 64 65 20 61 70 70 |n to pro|vide app|
|00006080| 72 6f 70 72 69 61 74 65 | 20 66 65 65 64 62 61 63 |ropriate| feedbac|
|00006090| 6b 20 74 6f 20 74 68 65 | 20 75 73 65 72 2e 20 49 |k to the| user. I|
|000060a0| 66 20 00 00 03 00 16 00 | a1 00 64 00 10 4f 4e 4c |f ......|..d..ONL|
|000060b0| 4e 00 64 04 fd 01 2c 01 | b8 01 38 01 e9 00 28 01 |N.d...,.|..8...(.|
|000060c0| 36 01 b8 07 50 41 50 4f | 70 65 6e 00 03 00 14 00 |6...PAPO|pen.....|
|000060d0| a1 00 64 00 10 4f 4e 4c | 4e 00 64 05 04 01 2d 01 |..d..ONL|N.d...-.|
|000060e0| e9 01 39 02 1c 00 29 31 | 0a 20 63 6f 6d 70 6c 65 |..9...)1|. comple|
|000060f0| 74 65 73 00 a1 00 64 00 | 10 4f 4e 4c 4e 00 64 05 |tes...d.|.ONLN.d.|
|00006100| 0f 01 3a 00 5a 01 46 00 | ae 00 28 01 43 00 5a 12 |..:.Z.F.|..(.C.Z.|
|00006110| 73 75 63 63 65 73 73 66 | 75 6c 6c 79 2c 20 74 68 |successf|ully, th|
|00006120| 65 20 00 00 03 00 16 00 | a1 00 64 00 10 4f 4e 4c |e ......|..d..ONL|
|00006130| 4e 00 64 05 21 01 39 00 | ae 01 45 00 ed 00 29 54 |N.d.!.9.|..E...)T|
|00006140| 09 70 61 70 53 6f 63 6b | 65 74 00 00 03 00 14 00 |.papSock|et......|
|00006150| a1 00 64 00 10 4f 4e 4c | 4e 00 64 05 2a 01 3a 00 |..d..ONL|N.d.*.:.|
|00006160| ed 01 46 01 db 00 29 3f | 31 20 66 69 65 6c 64 20 |..F...)?|1 field |
|00006170| 77 69 6c 6c 20 63 6f 6e | 74 61 69 6e 20 74 68 65 |will con|tain the|
|00006180| 20 41 54 50 20 72 65 73 | 70 6f 6e 64 69 6e 67 20 | ATP res|ponding |
|00006190| 73 6f 63 6b 65 74 20 6f | 66 20 00 00 06 00 02 00 |socket o|f ......|
|000061a0| 00 00 a1 00 64 00 10 4f | 4e 4c 4e 00 64 05 5b 01 |....d..O|NLN.d.[.|
|000061b0| 3a 01 db 01 46 02 1c 00 | 29 ee 0e 74 68 65 20 70 |:...F...|)..the p|
|000061c0| 72 69 6e 74 65 72 20 6f | 72 00 06 00 01 00 00 00 |rinter o|r.......|
|000061d0| a1 00 64 00 10 4f 4e 4c | 4e 00 64 05 6a 01 47 00 |..d..ONL|N.d.j.G.|
|000061e0| 5a 01 53 00 ab 00 28 01 | 50 00 5a 12 70 72 69 6e |Z.S...(.|P.Z.prin|
|000061f0| 74 20 73 65 72 76 65 72 | 2c 20 74 68 65 20 00 00 |t server|, the ..|
|00006200| 03 00 16 00 a1 00 64 00 | 10 4f 4e 4c 4e 00 64 05 |......d.|.ONLN.d.|
|00006210| 7c 01 46 00 ab 01 52 00 | dc 00 29 51 07 70 61 70 ||.F...R.|..)Q.pap|
|00006220| 46 6c 6f 77 00 00 03 00 | 14 00 a1 00 64 00 10 4f |Flow....|....d..O|
|00006230| 4e 4c 4e 00 64 05 83 01 | 47 00 dc 01 53 01 d1 00 |NLN.d...|G...S...|
|00006240| 29 31 34 20 66 69 65 6c | 64 20 77 69 6c 6c 20 63 |)14 fiel|d will c|
|00006250| 6f 6e 74 61 69 6e 20 74 | 68 65 20 66 6c 6f 77 20 |ontain t|he flow |
|00006260| 71 75 61 6e 74 75 6d 20 | 6f 66 20 74 68 65 20 70 |quantum |of the p|
|00006270| 72 69 6e 74 65 72 20 00 | 06 00 02 00 00 00 a1 00 |rinter .|........|
|00006280| 64 00 10 4f 4e 4c 4e 00 | 64 05 b7 01 47 01 d1 01 |d..ONLN.|d...G...|
|00006290| 53 02 1c 00 29 f5 10 6f | 72 20 70 72 69 6e 74 20 |S...)..o|r print |
|000062a0| 73 65 72 76 65 72 2c 00 | 06 00 00 00 00 00 a1 00 |server,.|........|
|000062b0| 64 00 10 4f 4e 4c 4e 00 | 64 05 c8 01 54 00 5a 01 |d..ONLN.|d...T.Z.|
|000062c0| 60 00 7f 00 28 01 5d 00 | 5a 08 61 6e 64 20 74 68 |`...(.].|Z.and th|
|000062d0| 65 20 00 00 03 00 16 00 | a1 00 64 00 10 4f 4e 4c |e ......|..d..ONL|
|000062e0| 4e 00 64 05 d0 01 53 00 | 7f 01 5f 00 be 00 29 25 |N.d...S.|.._...)%|
|000062f0| 09 70 61 70 52 65 73 75 | 6c 74 00 00 03 00 14 00 |.papResu|lt......|
|00006300| a1 00 64 00 10 4f 4e 4c | 4e 00 64 05 d9 01 54 00 |..d..ONL|N.d...T.|
|00006310| be 01 60 01 e1 00 29 3f | 3f 20 66 69 65 6c 64 20 |..`...)?|? field |
|00006320| 77 69 6c 6c 20 63 6f 6e | 74 61 69 6e 20 7a 65 72 |will con|tain zer|
|00006330| 6f 20 69 6e 64 69 63 61 | 74 69 6e 67 20 74 68 65 |o indica|ting the|
|00006340| 20 50 41 50 20 63 6f 6e | 6e 65 63 74 69 6f 6e 20 | PAP con|nection |
|00006350| 69 73 20 6f 70 65 6e 2e | 00 00 a1 00 64 00 10 4f |is open.|....d..O|
|00006360| 4e 4c 4e 00 64 06 19 01 | 6c 00 6c 01 78 00 a8 00 |NLN.d...|l.l.x...|
|00006370| 28 01 75 00 6c 0c 52 65 | 73 75 6c 74 20 63 6f 64 |(.u.l.Re|sult cod|
|00006380| 65 73 00 00 03 00 16 00 | a1 00 64 00 10 4f 4e 4c |es......|..d..ONL|
|00006390| 4e 00 64 06 26 01 78 00 | 7e 01 84 00 bd 00 2b 12 |N.d.&.x.|~.....+.|
|000063a0| 0d 09 50 41 50 4e 6f 43 | 43 42 73 00 03 00 14 00 |..PAPNoC|CBs.....|
|000063b0| a1 00 64 00 10 4f 4e 4c | 4e 00 64 06 30 01 79 01 |..d..ONL|N.d.0.y.|
|000063c0| 16 01 85 01 32 00 29 98 | 05 2d 34 30 39 36 00 00 |....2.).|.-4096..|
|000063d0| a1 00 64 00 10 4f 4e 4c | 4e 00 64 06 36 01 79 01 |..d..ONL|N.d.6.y.|
|000063e0| 68 01 85 01 d8 00 29 52 | 16 4e 6f 20 66 72 65 65 |h.....)R|.No free|
|000063f0| 20 43 43 42 73 20 61 76 | 61 69 6c 61 62 6c 65 00 | CCBs av|ailable.|
+--------+-------------------------+-------------------------+--------+--------+
Only 25.0 KB of data is shown above.